Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 23rd, 2006, 12:13 PM   #1
Yihwan Kim
Newbie
 
Join Date: Apr 2006
Posts: 3
Rep Power: 0 Yihwan Kim is on a distinguished road
Help!

What the heck does the following mean?

<!-- InterQuest begin v2.0 -->
<script type="text/javascript" language="JavaScript1.2">
<!--
iq_site_id="dc00b88370d31ef0";
iq_sampl_max=50;
if((Math.random()*iq_sampl_max)<1){
document.write(unescape('%3Cscript%20language%3D%22JavaScript%22%20'+
'src%3D%22http://survey.interquest.com/cgi/invite%3Fid%3D'+iq_site_id+
'%26js20%22%3E%3C/script%3E'));
}
// -->
</script>

I'm trying to get a link from that ..

Let me explain furthur. The above code was taken from a site (www.habbohotel.com) from "page source". I want to have access to a pop up advertising/relating to INTERQUEST.com. I need a specific link. That opens a flash window, apparently.
Yihwan Kim is offline   Reply With Quote
Old Apr 23rd, 2006, 12:42 PM   #2
xavier
Professional Programmer
 
xavier's Avatar
 
Join Date: Oct 2004
Location: .ro
Posts: 383
Rep Power: 4 xavier is on a distinguished road
Send a message via Yahoo to xavier
1) java != javascript
2) ask your question in the javascript forum.
3) use code tags
4) read forum - rules



note: not in that particular order.
__________________
Don't take life too seriously, it's not permanent !
xavier is offline   Reply With Quote
Old Apr 23rd, 2006, 12:47 PM   #3
ReggaetonKing
Sexy Programmer
 
ReggaetonKing's Avatar
 
Join Date: Nov 2005
Location: New Jersey
Posts: 891
Rep Power: 3 ReggaetonKing is on a distinguished road
Send a message via AIM to ReggaetonKing
Javascript is for the web. Java for applications, Java applets are for the web!
__________________
I would love to change the world, but they won't give me the source code!
ReggaetonKing is offline   Reply With Quote
Old Apr 23rd, 2006, 1:19 PM   #4
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Quote:
Originally Posted by Yihwan Kim
I'm trying to get a link from that ..
Decoding that script gets the following code:
<script language="JavaScript" src="http://survey.interquest.com/cgi/invite?id=dc00b88370d31ef0&js20"></script>
The script referenced by the "src" attribute will be loaded approximately once in 50 pageviews.
Arevos is offline   Reply With Quote
Old Apr 23rd, 2006, 2:20 PM   #5
Mjordan2nd
The Supreme Ruler
 
Join Date: May 2004
Location: Houston
Posts: 1,476
Rep Power: 6 Mjordan2nd is on a distinguished road
~Moved
__________________
&quot;Every gun that is made, every warship launched, every rocket signifies, in the final sense, a theft from those who hunger and are not fed, from those who are cold and are not clothed. The world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children.&quot; - Dwight D. Eisenhower
Mjordan2nd is offline   Reply With Quote
Old Apr 23rd, 2006, 6:35 PM   #6
Yihwan Kim
Newbie
 
Join Date: Apr 2006
Posts: 3
Rep Power: 0 Yihwan Kim is on a distinguished road
Quote:
Originally Posted by Arevos
Decoding that script gets the following code:
<script language="JavaScript" src="http://survey.interquest.com/cgi/invite?id=dc00b88370d31ef0&js20"></script>
The script referenced by the "src" attribute will be loaded approximately once in 50 pageviews.
So basically, I'll get that pop up every 50 times I refresh?

Or are the odds of me getting it 1/50?
Yihwan Kim is offline   Reply With Quote
Old Apr 23rd, 2006, 7:25 PM   #7
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Quote:
So basically, I'll get that pop up every 50 times I refresh?
Or are the odds of me getting it 1/50?
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Apr 23rd, 2006, 7:40 PM   #8
The Dark
Expert Programmer
 
Join Date: Jun 2005
Posts: 852
Rep Power: 4 The Dark is on a distinguished road
Quote:
Originally Posted by Yihwan Kim
So basically, I'll get that pop up every 50 times I refresh?

Or are the odds of me getting it 1/50?
Yes, and yes
The Dark is offline   Reply With Quote
Old Apr 23rd, 2006, 11:46 PM   #9
Yihwan Kim
Newbie
 
Join Date: Apr 2006
Posts: 3
Rep Power: 0 Yihwan Kim is on a distinguished road
Hmmm. Thank you for your help.
Yihwan Kim is offline   Reply With Quote
Old Apr 24th, 2006, 1:27 AM   #10
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5 bl00dninja is on a distinguished road
...uh, the second one...


yeah...
__________________
i put on my robe and wizard hat...

Have you ever heard of Plato, Aristotle, Socrates?...Morons.
bl00dninja is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:33 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC