Go Back   Computer Forums > General Computing > Cyber Safety and Computer Security
Click Here to Login
Join Computer forums Today


Closed Thread
 
Thread Tools Search this Thread Display Modes
 
Old 03-08-2003, 04:38 AM   #1
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Lightbulb How to cover a banner on a free hosting package

Make sure you adverts are set to popups.
On your HTML page, insert:
<script language="Javascript">
<!--
function cover{
document.write("put your real site's code in here");
}
cover()
//-->
</script>
If you need to use quotes/apostraphes etc then you must escape them. E.g. \" \' etc.


It is that simple!
The only data that will be written on the page is that which you put in the document.write(""); function.
__________________

__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline  
Old 03-08-2003, 04:39 AM   #2
Baseband Member
 
Join Date: Mar 2003
Posts: 39
Default

interesting...does that work for .matrix28.com? hehehe just kidding!
__________________

Mike2 is offline  
Old 03-08-2003, 04:39 AM   #3
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default

Yes.
__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline  
Old 03-08-2003, 04:40 AM   #4
In Runtime
 
Pipson's Avatar
 
Join Date: Mar 2003
Posts: 158
Default

dude that ddint work

and when u mean put your real site's code in here is that suppose to be my html
Pipson is offline  
Old 03-08-2003, 04:41 AM   #5
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default

<html>
<body onload="cover()">
<script language="Javascript">
<!--
function cover{
document.write("put your real site's code in here");
}
//-->
</script>

Here is the revised code. Remember that you must escape quotes \" form in the document.write() command.
__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline  
Old 03-08-2003, 04:41 AM   #6
In Runtime
 
Pipson's Avatar
 
Join Date: Mar 2003
Posts: 158
Default

so its not really usefull is it
Pipson is offline  
Old 03-08-2003, 04:41 AM   #7
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default

You have to escape them such as \"
__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline  
Old 03-08-2003, 04:41 AM   #8
Baseband Member
 
Join Date: Mar 2003
Posts: 39
Default

So you view your site in your browser..View source...copy the auto banner insertation code and the place it in (" ") Without the parentheses?
Mike2 is offline  
Old 03-08-2003, 04:42 AM   #9
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default

No, your sites code goes in there
__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline  
Old 03-08-2003, 04:42 AM   #10
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default

OK. http://www.computerforums.org/bannerex.html
it is set to a timer of 3 seconds for example purposes.
__________________

__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 09:56 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0