Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Web Design and Hosting
Random photo
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="puaerotch" data-source="post: 162711" data-attributes="member: 12976"><p>just put it where you want the photos and all you have to do is change the info in orange</p><p></p><p><script LANGUAGE="JavaScript"></p><p><!-- Begin</p><p>var how_many_ads = <span style="color: Orange">2</span>;</p><p>var now = new Date()</p><p>var sec = now.getSeconds()</p><p>var ad = sec % how_many_ads;</p><p>ad +=1;</p><p>if (ad==1) {</p><p>txt="";</p><p>url="<span style="color: Orange">http://url the image links to</span>";</p><p>alt="<span style="color: Orange">image label</span>";</p><p>banner="<span style="color: Orange">url of the image itself (ex. http:/ /website.com/imageurl.jpg)</span>";</p><p>width="<span style="color: Orange">x</span>";</p><p>height="<span style="color: Orange">x</span>";</p><p>}</p><p>if (ad==2) {</p><p>txt="";</p><p>url="<span style="color: Orange">http://url the image links to</span>";</p><p>alt="<span style="color: Orange">image label</span>";</p><p>banner="<span style="color: Orange">url of the image itself (ex. http:/ /website.com/imageurl.jpg)</span>";</p><p>width="<span style="color: Orange">x</span>";</p><p>height="<span style="color: Orange">x</span>";</p><p>} <span style="color: BLUE">HERE</span></p><p>document.write('<center>');</p><p>document.write('<a href=\"' + url + '\" target=\"_top\">');</p><p>document.write('<img src=\"' + banner + '\" width=')</p><p>document.write(width + ' height=' + height + ' ');</p><p>document.write('alt=\"' + alt + '\" border=0><br>');</p><p>document.write('<small>' + txt + '</small></a>');</p><p>document.write('</center>');</p><p>// End --></p><p></script></p><p></p><p></p><p></p><p>to add more than 2 add the following where it says <span style="color: Blue">HERE</span> and change the numbers to the necessary numbers (dont forget to remove the <span style="color: Blue">HERE</span> )</p><p></p><p>if (ad==<span style="color: Orange">2</span>) {</p><p>txt="";</p><p>url="<span style="color: Orange">http://url the image links to</span>";</p><p>alt="<span style="color: Orange">image label</span>";</p><p>banner="<span style="color: Orange">url of the image itself (ex. http:/ /website.com/imageurl.jpg)</span>";</p><p>width="<span style="color: Orange">x</span>";</p><p>height="<span style="color: Orange">x</span>";</p><p>}</p></blockquote><p></p>
[QUOTE="puaerotch, post: 162711, member: 12976"] just put it where you want the photos and all you have to do is change the info in orange <script LANGUAGE="JavaScript"> <!-- Begin var how_many_ads = [COLOR=Orange]2[/COLOR]; var now = new Date() var sec = now.getSeconds() var ad = sec % how_many_ads; ad +=1; if (ad==1) { txt=""; url="[COLOR=Orange]http://url the image links to[/COLOR]"; alt="[COLOR=Orange]image label[/COLOR]"; banner="[COLOR=Orange]url of the image itself (ex. http:/ /website.com/imageurl.jpg)[/COLOR]"; width="[COLOR=Orange]x[/COLOR]"; height="[COLOR=Orange]x[/COLOR]"; } if (ad==2) { txt=""; url="[COLOR=Orange]http://url the image links to[/COLOR]"; alt="[COLOR=Orange]image label[/COLOR]"; banner="[COLOR=Orange]url of the image itself (ex. http:/ /website.com/imageurl.jpg)[/COLOR]"; width="[COLOR=Orange]x[/COLOR]"; height="[COLOR=Orange]x[/COLOR]"; } [COLOR=BLUE]HERE[/COLOR] document.write('<center>'); document.write('<a href=\"' + url + '\" target=\"_top\">'); document.write('<img src=\"' + banner + '\" width=') document.write(width + ' height=' + height + ' '); document.write('alt=\"' + alt + '\" border=0><br>'); document.write('<small>' + txt + '</small></a>'); document.write('</center>'); // End --> </script> to add more than 2 add the following where it says [COLOR=Blue]HERE[/COLOR] and change the numbers to the necessary numbers (dont forget to remove the [COLOR=Blue]HERE[/COLOR] ) if (ad==[COLOR=Orange]2[/COLOR]) { txt=""; url="[COLOR=Orange]http://url the image links to[/COLOR]"; alt="[COLOR=Orange]image label[/COLOR]"; banner="[COLOR=Orange]url of the image itself (ex. http:/ /website.com/imageurl.jpg)[/COLOR]"; width="[COLOR=Orange]x[/COLOR]"; height="[COLOR=Orange]x[/COLOR]"; } [/QUOTE]
Verification
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
Random photo
Top