Current location: Hot Scripts Forums » General Web Coding » JavaScript » links not working in JS


links not working in JS

Reply
  #1 (permalink)  
Old 02-24-08, 11:15 PM
bitstomper bitstomper is offline
Newbie Coder
 
Join Date: Feb 2007
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
links not working in JS

Hi,


I have the following code, which when executed places images at the given absolute co-ordinates. The arrays include addresses, but even though the curser changes to hand when hovering over the image, the image does not link.

I can not figure out what is missing.
Any help would be very much appreciated.


javascript Code:
  1. var Path='website.com/images/'
  2. var ImgAry=[];
  3. ImgAry[0]=['photos/architecture/arch_01.jpg','','<br><br>seoul airport<br>terry farrell & partners',229,250];
  4. ImgAry[1]=['photos/architecture/arch_02.jpg','','<br><br>hong kong residence<br>adrian mccarroll architects',603,78];
  5. ImgAry[2]=['photos/architecture/arch_03.jpg','website.com,'<br><br>silodam &nbsp;&nbsp; amsterdam<br>mvrdv',638,78];
  6. ImgAry[3]=['photos/architecture/arch_04.jpg','website.com','<br><br>kings villa &nbsp;&nbsp; beijing',472,202];
  7. ImgAry[4]=['photos/architecture/arch_05.jpg','website.com','<br><br>library hotel &nbsp;&nbsp; koh samui',517,145];
  8. ImgAry[5]=['photos/architecture/arch_06.jpg','website.com','<br><br>shanghai airport <br>paul andreu architect',417,225];
  9. ImgAry[6]=['photos/architecture/arch_07.jpg','website.com','<br><br>twin towers reception<br>mpi architects',472,202];
  10. ImgAry[7]=['photos/architecture/arch_08.jpg',website.com','<br><br>china national offshore oil company<br>kohn pederson fox architects',543,57];
  11. ImgAry[8]=['photos/architecture/arch_09.jpg','website.com','<br><br>quanta touyuan<br>artech architects',392,249];
  12. ImgAry[9]=['photos/architecture/arch_10.jpg',website.com/beijing_olympic.php','<br><br>beijing olympic boom<br><br><br><br><br><br><br>Click <a href="beijing_olympic.php" style="text-decoration:none; color:#666666"><b>here</b></a> to view all photos of the beijing olympic boom',110,242];
  13. ImgAry[10]=['photos/architecture/arch_11.jpg','website.com','<br><br>walvis &nbsp;&nbsp; amsterdam<br>frits van dongen architecten cie',517,145];
  14. ImgAry[11]=['photos/architecture/arch_12.jpg','website.com','<br><br>office and apartment buildings in the far east',110,337];
  15. ImgAry[12]=['photos/architecture/arch_13.jpg','website.com','<br><br>bibliotheek &nbsp;&nbsp; amsterdam<br>jo coenen architecten',596,78];
  16. ImgAry[13]=['photos/architecture/arch_14.jpg','website.com','<br><br>banciao model house &nbsp;&nbsp; taipei<br>kuo architects',229,243];
  17. ImgAry[14]=['photos/architecture/arch_15.jpg','website.com','<br><br>commercial building<br>neihu ksarch',472,202];
  18. ImgAry[15]=['photos/architecture/arch_16.jpg','website.com','<br><br>exhibition center &nbsp;&nbsp; melbourne<br>denton corker marshall',594,73];
  19. ImgAry[16]=['photos/architecture/arch_17.jpg','website.com','<br><br>childrens palace &nbsp;&nbsp; guangzho &nbsp;&nbsp;china<br>steffan bradley architects',599,78];
  20. ImgAry[17]=['photos/architecture/arch_18.jpg','website.com','<br><br>shiatze chen factory &nbsp;&nbsp; shanghai<br>layan design group',472,202];
  21. ImgAry[18]=['photos/architecture/arch_19.jpg','website.com','<br><br>childrens palace &nbsp;&nbsp; guangzho &nbsp;&nbsp;china<br>steffan bradley architects',472,202];
  22. ImgAry[19]=['photos/architecture/arch_20.jpg','website.com','<br><br>pukhet residence &nbsp;&nbsp;<br>adrian mccarroll architects',472,202];
  23. for (var zxc0=0;zxc0<ImgAry.length;zxc0++){
  24. ImgAry[zxc0][10]=new Image();
  25. ImgAry[zxc0][10].src=Path+ImgAry[zxc0][0];
  26. }
  27. // Functional Code
  28. var zxcTO;
  29. var ImgCnt=0;
  30. var zxcEvt=0;
  31. function zxcStyle(zxcele,zxcstyle,zxcp){
  32. if (typeof(zxcele)=='string'){ zxcele=document.createElement(zxcele); }
  33. for (key in zxcstyle){ zxcele.style[key]=zxcstyle[key]; }
  34. if (zxcp){ zxcp.appendChild(zxcele); }
  35. return zxcele;
  36. }
  37. function zxcEventAdd(zxco,zxct,zxcf) {
  38. if ( zxco.addEventListener ){ zxco.addEventListener(zxct, function(e){ zxco[zxcf](e);}, false); }
  39. else if ( zxco.attachEvent ){ zxco.attachEvent('on'+zxct,function(e){ zxco[zxcf](e);}); }
  40. else {
  41.   var zxcPrev=zxco["on" + zxct];
  42.   if (zxcPrev){ zxco['on'+zxct]=function(e){ zxcPrev(e); zxco[zxcf](e); }; }
  43.   else { zxco['on'+zxct]=zxco[zxcf]; }
  44. }
  45. }
  46. function zxcAddEvent(zxc,zxcfun,zxcevt){
  47. if (zxc.addEvent){ return; }
  48. zxc.addEvent=window[zxcfun];
  49. zxcEventAdd(zxc,zxcevt,'addEvent');
  50. }
  51. function zxcAddEvt(zxc,zxcfun,zxcevt){
  52. zxc['zxcaddEvt'+zxcEvt]=window[zxcfun];
  53. zxcEventAdd(zxc,zxcevt,'zxcaddEvt'+zxcEvt);
  54. zxcEvt++;
  55. }
  56. // parameters  0 = column pitch, 1 = row pitch, 2 = dot height, 3 = slide show button height
  57. function PlaceDots(zxccol,zxcrow,zxcdotheight,zxcssheight){
  58. zxcnu=ImgAry.length;
  59. var zxcp=document.getElementById('dots');
  60. zxcp.removeChild(zxcp.getElementsByTagName('DIV')[0]);
  61. var zxclft=0;zxctop=0;
  62. for (var zxc0=0;zxc0<zxcnu;zxc0++){
  63.   var zxcimg=zxcStyle('IMG',{position:'absolute',left:(Math.floor(zxc0%(zxcnu/2))*zxccol)+'px',top:(Math.floor(zxc0/(zxcnu/2))*zxcrow)+'px',cursor:(document.all)?'hand':'pointer'},zxcp);
  64.   zxcimg.src=Path+'dots/dots'+(Math.floor(zxc0%(zxcnu/2))+1)+'.gif';
  65.   zxcAddEvt(zxcimg,'zxcDotMse','mouseover');
  66.   zxcAddEvt(zxcimg,'zxcDotMse','mouseout');
  67. }
  68. zxcdimg=zxcStyle('IMG',{width:'43px',height:zxcssheight+'px',position:'absolute',left:(Math.ceil(zxcnu/2)*zxccol)+'px',top:((zxcrow+zxcdotheight-zxcssheight)/2)+'px'},zxcp);
  69. zxcdimg.src=Path+'dots/slidedot.gif';
  70. zxcAddEvt(zxcdimg,'zxcStartSShow','mouseover');
  71. zxcAddEvt(zxcdimg,'zxcStartSShow','mouseout');
  72. zxcStyle(document.getElementById('Main'),{cursor:(document.all)?'hand':'pointer'});
  73. }
  74. function zxcDotMse(zxcevt){
  75. clearTimeout(zxcTO);
  76. var zxcdots=this.parentNode.getElementsByTagName('IMG');
  77. for (var zxc0=0;zxc0<zxcdots.length;zxc0++){
  78.   if (zxcdots[zxc0]==this){
  79.    ImgCnt=zxc0;
  80.    break;
  81.   }
  82. }
  83. PlaceImage();
  84. }
  85. function zxcStartSShow(zxcevt){
  86. zxcevt.cancelBubble=true;
  87. if (zxcevt.stopPropagation) zxcevt.stopPropagation();
  88. clearTimeout(zxcTO);
  89. if (zxcevt.type=='mouseover'){ this.src=Path+'dots/slidedotred.gif'; SlideShow(); }
  90. else { this.src=Path+'dots/slidedot.gif'; }
  91. }
  92. function SlideShow(){
  93. PlaceImage();
  94. ImgCnt=++ImgCnt%ImgAry.length;
  95. zxcTO=setTimeout('SlideShow()',3000);
  96. }
  97. function PlaceImage(){
  98. var zxcimg=document.getElementById('Main')
  99. zxcStyle(zxcimg,{left:ImgAry[ImgCnt][3]+'px',top:ImgAry[ImgCnt][4]+'px'});
  100. zxcimg.src=Path+ImgAry[ImgCnt][0];
  101. document.getElementById('text').innerHTML=ImgAry[ImgCnt][2];
  102. ResetDots();
  103. }
  104. function ResetDots(){
  105. var zxcimgs=document.getElementById('dots').getElementsByTagName('IMG');
  106. var zxcmid=Math.ceil((zxcimgs.length-1)/2);
  107. for (var zxc0=0;zxc0<zxcimgs.length-1;zxc0++){
  108.   zxcimgs[zxc0].src=Path+'dots/dots'+((zxc0<zxcmid)?zxc0+1:zxc0-zxcmid+1)+'.gif';
  109. }
  110. zxcimgs[ImgCnt].src=Path+'dots/dotred.gif';
  111. }
  112. /*]]>*/
  113. </script>
  114. <body >
  115. <div id="loading" style="position:absolute; left:895px;top:556px;">
  116. <img src="../images/loading.gif" border=0 /></div>
  117. <a href="website.com"><img src="website.com/images/name_heading.gif" width="220" height="17" style="position:absolute;left:110px;top:74px;" border="0" /></a>
  118. <div id="text" style="position:absolute;left:110px;top:105px;width:320px;height:50px;text-Align:left;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #999999;text-decoration: none; line-height: 10pt;" ><br><br>seoul airport<br>terry farrell & partners</div>
  119. <div id="dots" style="position:absolute;left:110px;top:176px;" >
  120. <div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9px; color: #999999;"></div>
  121. </div >
  122. <img id="Main"  src="website.com/images/photos/architecture/arch_01.jpg" style="position:absolute;left:229px;top:250px;" />
  123. <img id="Main"  src="website.com/images/horline.gif" width="857" style="position:absolute;left:110px;top:590px;" />
  124. <script language="JavaScript" type="text/javascript">
  125. /*<![CDATA[*/
  126. // parameters  0 = column pitch, 1 = row pitch, 2 = dot height, 3 = slide show button height
  127. PlaceDots(22,20,17,44);
  128. /*]]>*/
  129. </script>

Last edited by mab; 02-24-08 at 11:30 PM. Reason: Code in code tags please.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 02-25-08, 06:07 AM
UnrealEd's Avatar
UnrealEd UnrealEd is offline
Community Liaison
 
Join Date: May 2005
Location: Antwerp, Belgium
Posts: 3,165
Thanks: 4
Thanked 25 Times in 25 Posts
When I just look at the syntax coloring of your code, I already see you're missing a couple of quotes. Try fixing these problems and see what happens
__________________
"Good judgement comes from experience, and experience comes from bad judgement." - Fred Brooks

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 02-25-08, 06:32 AM
bitstomper bitstomper is offline
Newbie Coder
 
Join Date: Feb 2007
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks but that was only due to clumsy copy and pasting on my behalf.
Original codes have got no color coding indications of missing quotes. I double checked and found none to be missing
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 02-25-08, 07:09 AM
mab's Avatar
mab mab is offline
Community VIP
 
Join Date: Oct 2005
Location: Denver, Co. USA
Posts: 2,674
Thanks: 0
Thanked 0 Times in 0 Posts
I'm afraid that no one in a forum is going to spend time on code that is not accurately posted.

Your original post just listed the code as part of the post. It is possible that doing that caused some of the quotes to be treated as real quotes instead of literal characters. It is also possible that adding [highlight=javascript] ... [/highlight] tags around the code after the fact altered it, but unlikely.

I recommend that you repost the correct code and surround it in [highlight=javascript] Your Code Here [/highlight] tags.
__________________
Error checking, error reporting, and error recovery. If your code does not have these to get it to tell you why it is not working, what makes you think someone in a programming forum will be able to tell you why it is not working???

Last edited by mab; 02-25-08 at 07:12 AM. Reason: fix hightlight tag to not be parsed - [noparse] does not work
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 02-25-08, 08:10 AM
bitstomper bitstomper is offline
Newbie Coder
 
Join Date: Feb 2007
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
javascript Code:
  1. var Path='http://www.website.com/images/'
  2. var ImgAry=[];
  3. ImgAry[0]=['photos/architecture/arch_01.jpg','','<br><br>seoul airport<br>terry farrell & partners',229,250];
  4. ImgAry[1]=['photos/architecture/arch_02.jpg','','<br><br>hong kong residence<br>adrian mccarroll architects',603,78];
  5. ImgAry[2]=['photos/architecture/arch_03.jpg','http://www.website.com','<br><br>silodam &nbsp;&nbsp; amsterdam<br>mvrdv',638,78];
  6. ImgAry[3]=['photos/architecture/arch_04.jpg','http://www.website.com','<br><br>kings villa &nbsp;&nbsp; beijing',472,202];
  7. ImgAry[4]=['photos/architecture/arch_05.jpg','http://www.website.com','<br><br>library hotel &nbsp;&nbsp; koh samui',517,145];
  8. ImgAry[5]=['photos/architecture/arch_06.jpg','http://www.website.com','<br><br>shanghai airport <br>paul andreu architect',417,225];
  9. ImgAry[6]=['photos/architecture/arch_07.jpg','http://www.website.com','<br><br>twin towers reception<br>mpi architects',472,202];
  10. ImgAry[7]=['photos/architecture/arch_08.jpg','http://www.website.com','<br><br>china national offshore oil company<br>kohn pederson fox architects',543,57];
  11. ImgAry[8]=['photos/architecture/arch_09.jpg','http://www.website.com','<br><br>quanta touyuan<br>artech architects',392,249];
  12. ImgAry[9]=['photos/architecture/arch_10.jpg','http://www.website.com/beijing_olympic.php','<br><br>beijing olympic boom &nbsp;&nbsp;&nbsp; to view photos <a href="beijing_olympic.php" style="text-decoration:none; color:#cc0000"><b>click here</b></a>',110,242];
  13. ImgAry[10]=['photos/architecture/arch_11.jpg','http://www.website.com','<br><br>walvis &nbsp;&nbsp; amsterdam<br>frits van dongen architecten cie',517,145];
  14. ImgAry[11]=['photos/architecture/arch_12.jpg','http://www.website.com','<br><br>office and apartment buildings in the far east',110,337];
  15. ImgAry[12]=['photos/architecture/arch_13.jpg','http://www.website.com','<br><br>bibliotheek &nbsp;&nbsp; amsterdam<br>jo coenen architecten',596,78];
  16. ImgAry[13]=['photos/architecture/arch_14.jpg','http://www.website.com','<br><br>banciao model house &nbsp;&nbsp; taipei<br>kuo architects',229,243];
  17. ImgAry[14]=['photos/architecture/arch_15.jpg','http://www.website.com','<br><br>commercial building<br>neihu ksarch',472,202];
  18. ImgAry[15]=['photos/architecture/arch_16.jpg','http://www.website.com','<br><br>exhibition center &nbsp;&nbsp; melbourne<br>denton corker marshall',594,73];
  19. ImgAry[16]=['photos/architecture/arch_17.jpg','http://www.website.com','<br><br>childrens palace &nbsp;&nbsp; guangzho &nbsp;&nbsp;china<br>steffan bradley architects',599,78];
  20. ImgAry[17]=['photos/architecture/arch_18.jpg','http://www.website.com','<br><br>shiatze chen factory &nbsp;&nbsp; shanghai<br>layan design group',472,202];
  21. ImgAry[18]=['photos/architecture/arch_19.jpg','http://www.website.com','<br><br>childrens palace &nbsp;&nbsp; guangzho &nbsp;&nbsp;china<br>steffan bradley architects',472,202];
  22. ImgAry[19]=['photos/architecture/arch_20.jpg','http://www.website.com','<br><br>pukhet residence &nbsp;&nbsp;<br>adrian mccarroll architects',472,202];
  23. for (var zxc0=0;zxc0<ImgAry.length;zxc0++){
  24.  ImgAry[zxc0][10]=new Image();
  25.  ImgAry[zxc0][10].src=Path+ImgAry[zxc0][0];
  26. }
  27.  
  28.  
  29. // Functional Code
  30.  
  31. var zxcTO;
  32. var ImgCnt=0;
  33. var zxcEvt=0;
  34.  
  35. function zxcStyle(zxcele,zxcstyle,zxcp){
  36.  if (typeof(zxcele)=='string'){ zxcele=document.createElement(zxcele); }
  37.  for (key in zxcstyle){ zxcele.style[key]=zxcstyle[key]; }
  38.  if (zxcp){ zxcp.appendChild(zxcele); }
  39.  return zxcele;
  40. }
  41.  
  42. function zxcEventAdd(zxco,zxct,zxcf) {
  43.  if ( zxco.addEventListener ){ zxco.addEventListener(zxct, function(e){ zxco[zxcf](e);}, false); }
  44.  else if ( zxco.attachEvent ){ zxco.attachEvent('on'+zxct,function(e){ zxco[zxcf](e);}); }
  45.  else {
  46.   var zxcPrev=zxco["on" + zxct];
  47.   if (zxcPrev){ zxco['on'+zxct]=function(e){ zxcPrev(e); zxco[zxcf](e); }; }
  48.   else { zxco['on'+zxct]=zxco[zxcf]; }
  49.  }
  50. }
  51.  
  52. function zxcAddEvent(zxc,zxcfun,zxcevt){
  53.  if (zxc.addEvent){ return; }
  54.  zxc.addEvent=window[zxcfun];
  55.  zxcEventAdd(zxc,zxcevt,'addEvent');
  56. }
  57.  
  58. function zxcAddEvt(zxc,zxcfun,zxcevt){
  59.  zxc['zxcaddEvt'+zxcEvt]=window[zxcfun];
  60.  zxcEventAdd(zxc,zxcevt,'zxcaddEvt'+zxcEvt);
  61.  zxcEvt++;
  62. }
  63.  
  64. // parameters  0 = column pitch, 1 = row pitch, 2 = dot height, 3 = slide show button height
  65. function PlaceDots(zxccol,zxcrow,zxcdotheight,zxcssheight){
  66.  zxcnu=ImgAry.length;
  67.  var zxcp=document.getElementById('dots');
  68.  zxcp.removeChild(zxcp.getElementsByTagName('DIV')[0]);
  69.  var zxclft=0;zxctop=0;
  70.  for (var zxc0=0;zxc0<zxcnu;zxc0++){
  71.   var zxcimg=zxcStyle('IMG',{position:'absolute',left:(Math.floor(zxc0%(zxcnu/2))*zxccol)+'px',top:(Math.floor(zxc0/(zxcnu/2))*zxcrow)+'px',cursor:(document.all)?'hand':'pointer'},zxcp);
  72.   zxcimg.src=Path+'dots/dots'+(Math.floor(zxc0%(zxcnu/2))+1)+'.gif';
  73.   zxcAddEvt(zxcimg,'zxcDotMse','mouseover');
  74.   zxcAddEvt(zxcimg,'zxcDotMse','mouseout');
  75.  }
  76.  zxcdimg=zxcStyle('IMG',{width:'43px',height:zxcssheight+'px',position:'absolute',left:(Math.ceil(zxcnu/2)*zxccol)+'px',top:((zxcrow+zxcdotheight-zxcssheight)/2)+'px'},zxcp);
  77.  zxcdimg.src=Path+'dots/slidedot.gif';
  78.  zxcAddEvt(zxcdimg,'zxcStartSShow','mouseover');
  79.  zxcAddEvt(zxcdimg,'zxcStartSShow','mouseout');
  80.  zxcStyle(document.getElementById('Main'),{cursor:(document.all)?'hand':'pointer'});
  81. }
  82.  
  83. function zxcDotMse(zxcevt){
  84.  clearTimeout(zxcTO);
  85.  var zxcdots=this.parentNode.getElementsByTagName('IMG');
  86.  for (var zxc0=0;zxc0<zxcdots.length;zxc0++){
  87.   if (zxcdots[zxc0]==this){
  88.    ImgCnt=zxc0;
  89.    break;
  90.   }
  91.  }
  92.  PlaceImage();
  93.  
  94. }
  95.  
  96. function zxcStartSShow(zxcevt){
  97.  zxcevt.cancelBubble=true;
  98.  if (zxcevt.stopPropagation) zxcevt.stopPropagation();
  99.  clearTimeout(zxcTO);
  100.  if (zxcevt.type=='mouseover'){ this.src=Path+'dots/slidedotred.gif'; SlideShow(); }
  101. else { this.src=Path+'dots/slidedot.gif'; }
  102. }
  103.  
  104. function SlideShow(){
  105.  PlaceImage();
  106.  ImgCnt=++ImgCnt%ImgAry.length;
  107.  zxcTO=setTimeout('SlideShow()',3000);
  108. }
  109.  
  110. function PlaceImage(){
  111.  var zxcimg=document.getElementById('Main')
  112.  zxcStyle(zxcimg,{left:ImgAry[ImgCnt][3]+'px',top:ImgAry[ImgCnt][4]+'px'});
  113.  zxcimg.src=Path+ImgAry[ImgCnt][0];
  114.  document.getElementById('text').innerHTML=ImgAry[ImgCnt][2];
  115.  ResetDots();
  116. }
  117.  
  118. function ResetDots(){
  119.  var zxcimgs=document.getElementById('dots').getElementsByTagName('IMG');
  120.  var zxcmid=Math.ceil((zxcimgs.length-1)/2);
  121.  for (var zxc0=0;zxc0<zxcimgs.length-1;zxc0++){
  122.   zxcimgs[zxc0].src=Path+'dots/dots'+((zxc0<zxcmid)?zxc0+1:zxc0-zxcmid+1)+'.gif';
  123.  }
  124.  zxcimgs[ImgCnt].src=Path+'dots/dotred.gif';
  125. }
  126.  
  127. /*]]>*/
  128. </script>
  129.  
  130. <body >
  131.  
  132. <div id="loading" style="position:absolute; left:895px;top:556px;">
  133. <img src="../images/loading.gif" border=0 /></div>
  134.  
  135.  
  136. <a href="http://www.website.com"><img src="http://www.website.com/images/name_heading.gif" width="220" height="17" style="position:absolute;left:110px;top:74px;" border="0" /></a>
  137. <div id="text" style="position:absolute;left:110px;top:105px;width:320px;height:50px;text-Align:left;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #999999;text-decoration: none; line-height: 10pt;" ><br><br>seoul airport<br>terry farrell & partners</div>
  138.  
  139.  
  140. <div id="dots" style="position:absolute;left:110px;top:176px;" >
  141. <div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9px; color: #999999;"></div>
  142. </div >
  143.  
  144. <img id="Main"  src="http://www.website.com/images/photos/architecture/arch_01.jpg" style="position:absolute;left:229px;top:250px;" />
  145. <img id="Main"  src="http://www.website.com/images/horline.gif" width="857" style="position:absolute;left:110px;top:590px;" />
  146. <script language="JavaScript" type="text/javascript">
  147. /*<![CDATA[*/
  148.  
  149. // parameters  0 = column pitch, 1 = row pitch, 2 = dot height, 3 = slide show button height
  150. PlaceDots(22,20,17,44);
  151.  
  152. /*]]>*/
  153. </script>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 02-26-08, 08:02 AM
bitstomper bitstomper is offline
Newbie Coder
 
Join Date: Feb 2007
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
anyone?

Pleeeeaaasssseeee....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #7 (permalink)  
Old 02-27-08, 07:30 AM
zenox zenox is offline
Newbie Coder
 
Join Date: Feb 2008
Location: Nova Scotia, Canada
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
I would suggest installing firebug and stepping through your code. You can download firebug at: http://www.getfirebug.com/
__________________
Compilr.com Owner and Developer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #8 (permalink)  
Old 02-28-08, 08:20 PM
bitstomper bitstomper is offline
Newbie Coder
 
Join Date: Feb 2007
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Firebug does not tell me there are any errors
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #9 (permalink)  
Old 02-28-08, 11:04 PM
TheKiser TheKiser is offline
Wannabe Coder
 
Join Date: Aug 2007
Location: Texas
Posts: 151
Thanks: 0
Thanked 0 Times in 0 Posts
I am having trouble following your variable names so maybe I am missing something but I don't see where you put any reference for the anchors. Where are the addresses? I don't see them in your array.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #10 (permalink)  
Old 03-03-08, 05:55 AM
bitstomper bitstomper is offline
Newbie Coder
 
Join Date: Feb 2007
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
the addresses are: "http\\:www.website.com" in every array.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
JS script not working properly on IE but working on Firefox!!! sujata_ghosh JavaScript 4 05-21-07 06:46 AM
PHP/MySQL Script sszukala Job Offers & Assistance 0 01-28-06 03:53 PM
Premium 'featured sponsors' and partner links EvilHaider General Advertisements 0 10-07-05 04:50 PM
hey there, im creating links that arnt working any help? 0o0o0 PHP 4 10-03-05 07:37 PM


All times are GMT -5. The time now is 01:06 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.