Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Closed Thread
Annoying Pop Up Code?
Old 02-16-2011, 12:29 PM Annoying Pop Up Code?
@SickFooDino's Avatar
Skilled Talker

Posts: 60
Name: Dino
Location: In A State Of Trance<3(:
Trades: 0
I remember back then there was a simple html code
where you go to a website and a pop up window
pops up with some text and you just click ok.

And they do it repetitive, and its annoying.
Ive searched but can't find it.

I keep finding codes for regular pop up boxes!

So does anyone know the code?(:
__________________

Please login or register to view this content. Registration is FREE
@SickFooDino is offline
View Public Profile Visit @SickFooDino's homepage!
 
 
Register now for full access!
Old 02-16-2011, 02:59 PM Re: Annoying Pop Up Code?
Skilled Talker

Posts: 83
Trades: 0
i think it was a simple javascript code with Window.open command.....
__________________
»
Please login or register to view this content. Registration is FREE
- Interactive maps for websites
»
Please login or register to view this content. Registration is FREE
for web developers
DmitryS is offline
View Public Profile
 
Old 02-16-2011, 03:43 PM Re: Annoying Pop Up Code?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
javascript is NOT HTML

The target attribute may be what you are thinking of.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 02-17-2011, 12:21 AM Re: Annoying Pop Up Code?
@SickFooDino's Avatar
Skilled Talker

Posts: 60
Name: Dino
Location: In A State Of Trance<3(:
Trades: 0
Hmm Hmm, I don't know.

Its like for example you visit

www.google.com

and automatically a litto pop up box pops up saying "TEXT TEXT TEXT"

and thats it, and i know you can repeat it so its annoying and you cant move onto another tab or something?
__________________

Please login or register to view this content. Registration is FREE
@SickFooDino is offline
View Public Profile Visit @SickFooDino's homepage!
 
Old 02-17-2011, 08:42 AM Re: Annoying Pop Up Code?
Lemonie's Avatar
Super Spam Talker

Posts: 948
Trades: 2
owww.. i know what he asking, i visited some blogs that had annoying pop up ads which force us to click them before open the site itself ZzZ. no idea about the code tho. i hated pop up.
__________________

Please login or register to view this content. Registration is FREE
Lemonie is offline
View Public Profile
 
Old 02-17-2011, 09:57 AM Re: Annoying Pop Up Code?
@SickFooDino's Avatar
Skilled Talker

Posts: 60
Name: Dino
Location: In A State Of Trance<3(:
Trades: 0
^^^ Spam!

&& Yeah sometimes people put

"Don't Click Here Trust"

&& there we go clicking it and its like a pop up pops out saying what you put.
Last time i was

"Haha Told You Not To Click"
"Now Lets Count To 100"

&& So much more!
__________________

Please login or register to view this content. Registration is FREE
@SickFooDino is offline
View Public Profile Visit @SickFooDino's homepage!
 
Old 02-17-2011, 10:28 AM Re: Annoying Pop Up Code?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
It's known as a Modal Window
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 02-17-2011, 11:18 PM Re: Annoying Pop Up Code?
@SickFooDino's Avatar
Skilled Talker

Posts: 60
Name: Dino
Location: In A State Of Trance<3(:
Trades: 0
. . . .No Its NONE Of That!

I kinda remember it was a SHORT HTML SIMPLE CODE

Its like a regular normal window box.

&& like you cant do anything, visit other sites or anything you would have to close your browser using THE TASK MANAGER

because it wont let you click nothing but that BOX!
__________________

Please login or register to view this content. Registration is FREE
@SickFooDino is offline
View Public Profile Visit @SickFooDino's homepage!
 
Old 02-17-2011, 11:19 PM Re: Annoying Pop Up Code?
@SickFooDino's Avatar
Skilled Talker

Posts: 60
Name: Dino
Location: In A State Of Trance<3(:
Trades: 0
For example : https://gator1329.hostgator.com:2083/

when you visit that A POP UP automatically happens, its like that but WITHOUT A LOGIN just some text you input!
__________________

Please login or register to view this content. Registration is FREE
@SickFooDino is offline
View Public Profile Visit @SickFooDino's homepage!
 
Old 02-18-2011, 08:05 PM Re: Annoying Pop Up Code?
Marik's Avatar
Skilled Talker

Posts: 99
Trades: 0
Quote:
Originally Posted by @SickFooDino View Post
For example : https://gator1329.hostgator.com:2083/

when you visit that A POP UP automatically happens, its like that but WITHOUT A LOGIN just some text you input!
Are you referring to a simple javascript prompt?

example:

HTML Code:
<script>
    var name = prompt('What is your name?');
    document.write('How Ya Doing '+name);
</script>
__________________

Please login or register to view this content. Registration is FREE
Marik is offline
View Public Profile
 
Old 02-23-2011, 07:51 PM Re: Annoying Pop Up Code?
@SickFooDino's Avatar
Skilled Talker

Posts: 60
Name: Dino
Location: In A State Of Trance<3(:
Trades: 0
PERFECT EXACTLY What Im Looking For!

But WITHOUT the input box???

&& i wanna do it multiple timess!
__________________

Please login or register to view this content. Registration is FREE
@SickFooDino is offline
View Public Profile Visit @SickFooDino's homepage!
 
Old 02-23-2011, 07:55 PM Re: Annoying Pop Up Code?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
So it's simply an alert() dialog that you are looking for.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 03-01-2011, 04:13 PM Re: Annoying Pop Up Code?
Skilled Talker

Posts: 59
Name: Lisa Forgan
Location: Colorado
Trades: 0
Here ya go!
The perfect example - Just copy and paste and you'll see the effects:
window.alert('Welcome to My Web Site!');
window.alert('Remeber to sign the guestbook!');
window.alert('Are you annoyed yet? Muahahaha!');
Puddlemut is offline
View Public Profile
 
Old 03-01-2011, 06:17 PM Re: Annoying Pop Up Code?
Skilled Talker

Posts: 83
Trades: 0
if you need just a message then use javascript Alert(); if you need to open actul page in popup then try following code. it might help you. i have auto generated from following website
http://javascript.internet.com/gener...up-window.html

<!-- TWO STEPS TO INSTALL POPUP WINDOW:

1. Paste the first into the HEAD of your HTML document
2. Use the code to open the popup page on your site -->

<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">
<!-- Idea by: Nic Wolfe -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,men ubar=0,resizable=0,width=300,height=300,left = 533,top = 234');");
}
// End -->
</script>


<!-- STEP TWO: Paste this onLoad event handler into the BODY tag -->

<BODY onLoad="javascriptopUp('Something.html')">

<!-- Script Size: 0.73 KB -->
__________________
»
Please login or register to view this content. Registration is FREE
- Interactive maps for websites
»
Please login or register to view this content. Registration is FREE
for web developers
DmitryS is offline
View Public Profile
 
Closed Thread     « Reply to Annoying Pop Up Code?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 2.05755 seconds with 12 queries