PDA

View Full Version : Memory Ticker does not render



dbldee
02-19-2008, 06:38 PM
1) Script Title: Memory Ticker
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/memoryticker.htm

3) Describe problem: Neither CSS nor script renders IE7.0 FF2.0

Page location: http://freelinksexchange.net/ticker.html

thetestingsite
02-19-2008, 06:44 PM
It is due to not escaping the single quotes in the string. The following highlighted code should be placed in your script.



tickercontents[0]='1) <a href="http://dbldee4up.ewnchia.hop/clickbank.net/?tid=CTI07F07" target-_new onmouseover="window.status=\'http://tsands.com\';return true;" onmouseout="window.status=\'\';return true;"><b>1.57 million visitors to your site for free</b></a>'
tickercontents[1]='2) <a href="http://publishers.clickbooth.com/sw/29761/CD16684&dp=2384129" onmouseover="window.status=\'http://Makebigmoney.com\';return true;" onmouseout="window.status=\'\';return true;">Easy profits on-line</a>'
tickercontents[2]='3) <a href="http://www.clickboothlnk.com/e/?enc=bvllkgfsqkge&optionalinfo=&deployid=2407418&land=0&pid=0" onmouseover="window.status=\'http://$150perhour.com\';return true;" onmouseout="window.status=\'\';return true;">Get paid up to $150 per hour for your opinion</a>'
tickercontents[3]='4) <a href="http://dbldee4up.trevor1987.hop.clickbank.net/?tid=ECSFS" onmouseover="window.status=\'http://free-stuff-on-line.com\';return true;" onmouseout="window.status=\'\';return true;">Get free-stuff-on-line.</a>'
tickercontents[4]='5)<a href="http://www.clickboothlnk.com/e/?enc=bvllkgfsnsdn&optionalinfo=&deployid=2378388&land=0&pid=0" onmouseover="window.status=\'http://freeblackberry.com\';return true;" onmouseout="window.status=\'\';return true;">Get a free Black berry Pearl.</a>'
tickercontents[5]='6)<a href="http://dbldee4up.8bitpub.hop.clickbank.net/?tid=ECSAR" onmouseover="window.status=\'http://theamazingautoresponder.com\';return true;" onmouseout="window.status=\'\';return true;">Boost sales with video</a>'
tickercontents[6]='7)<a href="http://publishers.clickbooth.com/ez/arwwaspowvvt/" onmouseover="window.status=\'http://turn1k-to-26Kinoneweek.com\';return true;" onmouseout="window.status=\'\';return true;">Make a killing in Forex market</a>'
tickercontents[7]='8)<a ef="http://www.dpbolvw.net/bl77lpxltwADHKKKGGACBFKCBKC"onmouseover="window.status=\'http://www.dpbolvw.net/bl77lpxltwADHKKKGGACBFKCBKC\';return true;" onmouseout="window.status=\'\';return true;">Put your site on a free T-shirt</a>'


Hope this helps.