| | |
Auto Start Page Rotator
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Jun 2009
Posts: 1
Reputation:
Solved Threads: 0
I launched the following scripts but only the "Auto Start Page Rotator" page appeared.
Can anyone please check if the codes are correct?
Thanks.
Can anyone please check if the codes are correct?
html Syntax (Toggle Plain Text)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>Control page</title> </head> <body> <script language="JAVASCRIPT"> var Win; var page_index=0; var page = new Array(); page[0] = "http://www.trafficswarm.com/cgi-bin/swarm.cgi?493555"; page[1] = "http://www.ts25.com/surf/index.php?surfer=jy1006"; page[2] = "http://www.trafficg.com/supersurf.php?member=jy1006"; page[3] = "http://www.trafficroundup.com/start.php?username=globalteam"; page[4] = "http://www.trafficpods.com/surf/surf.jsp?surfer=businessglob"; page[5] = "http://www.trafficg.com/supersurf.php?member=jy1006"; page[6] = "http://www.hitpulse.com/jsp/surf.jsp?surfer=jy1006"; page[7] = "http://www.hitsafari.com/rotate.php?u=businessglob"; function next_page() {page_index++;if (page_index == 8) page_index = 0; Win.location.replace(page[page_index]);} </script> <h1>Auto Start Page Rotator</h1> <script language="JAVASCRIPT"> Win=window.open(page[0], 'Win','resize=yes,toolbar=yes,status=yes, scrollbars=yes,screenX=0,screenY=0,width=1000,height=666')setInterval("next_page();",8000); </script> <br> </body></html>
Thanks.
Last edited by peter_budo; Jul 1st, 2009 at 1:24 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Try this:
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Control page</title> <script type="text/javascript"> <!-- var Win; var page_index = 0; var page = new Array(); page[ 0 ] = "http://www.trafficswarm.com/cgi-bin/swarm.cgi?493555"; page[ 1 ] = "http://www.ts25.com/surf/index.php?surfer=jy1006"; page[ 2 ] = "http://www.trafficg.com/supersurf.php?member=jy1006"; page[ 3 ] = "http://www.trafficroundup.com/start.php?username=globalteam"; page[ 4 ] = "http://www.trafficpods.com/surf/surf.jsp?surfer=businessglob"; page[ 5 ] = "http://www.trafficg.com/supersurf.php?member=jy1006"; page[ 6 ] = "http://www.hitpulse.com/jsp/surf.jsp?surfer=jy1006"; page[ 7 ] = "http://www.hitsafari.com/rotate.php?u=businessglob"; var next_page = function() { page_index = (( page_index === 8 ) ? 0 : page_index ); if ( typeof Win !== "undefined" ) { Win.location.href = page[ page_index ]; } ++page_index; }; window.onload = function() { Win = window.open( page[ 0 ], 'Win', 'resize=yes,toolbar=yes, status=yes,scrollbars=yes, screenX=0,screenY=0, width=1000, height=666' ); timer = setInterval( "next_page()", 8000 ); }; // --> </script> </head> <body> <h1>Auto Start Page Rotator</h1> <br> </body> </html>
![]() |
Similar Threads
- need help with url rotator script (HTML and CSS)
- Trojan-start.page & ItEye hijack toolbar followed me home - can i keep em mum? (Viruses, Spyware and other Nasties)
- Hijacker about:blank Trusted Start Page (Viruses, Spyware and other Nasties)
- about:blank Trusted Start Page problem (Viruses, Spyware and other Nasties)
- Blank Trusted start Page hijackthis.log attc. (Viruses, Spyware and other Nasties)
- About:blank Trusted start page (tried everything now!!) (Viruses, Spyware and other Nasties)
- Redirected IE start page (Web Browsers)
- IE 6 start page getting changed to about:blank (Web Browsers)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: how to prevent javascript menu from getting hidden under flash movies
- Next Thread: Need help for streaming live audio using javascript
| Thread Tools | Search this Thread |
acid2 ajax ajaxexample ajaxhelp ajaxjspservlets animate array automatically beta box browser captchaformproblem cart child close codes column css date debugger decimal dependent design disablefirebug dom download element embed engine enter error events ext file firefox focus form forms frameworks getselection google gwt gxt hiddenvalue highlightedword hint html htmlform ie7 ie8 iframe index java javascript javascripthelp2020 jawascriptruntimeerror jquery jsp jump libcurl listbox maps masterpage math media menu microsoft mimic mp4 onmouseoutdivproblem onmouseover onreadystatechange paypal pdf php player position post problem programming prototype redirect safari scale scriptlets scroll search security select software sql toggle unicode variables w3c web website window windowofwords \n





