| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
popup information box help please | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
popup information box help please
Hi All
Iam trying to install a mouse over text popup information box, ive followed the instructions but get an error message so not sure if iam doing it right or if this code is compatible with xcart Instructions are - Place this code within the head Quote:
And place this code within the body - Quote:
Then place this code anywere you want the popup information box - Quote:
i keep getting this error message - Quote:
not sure if this code needs modifying to work with xcart v4.1.8 and were i should put the information as ive tested it using coffeecup and it works fine, also test in browsers IE and firefox it works fine, just can't get it to work in xcart. Any help would be greatfully appreciated, regards Dean
__________________
-------------- V4.6.1 xcartmods - Reboot Template X-cart - X-PDF Altered Cart - Checkout one |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: popup information box help please
could any possible advise on this one please.
Thanks for your time
__________________
-------------- V4.6.1 xcartmods - Reboot Template X-cart - X-PDF Altered Cart - Checkout one |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: popup information box help please
Does anyone know of any other coding that will do this and work in v4.1.8
Thanks Dean
__________________
-------------- V4.6.1 xcartmods - Reboot Template X-cart - X-PDF Altered Cart - Checkout one |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: popup information box help please
Have you tried using literal tags?
{literal) <SCRIPT TYPE="text/javascript"> <!-- //Permission granted to Dynamicdrive.com to include script in archive //For this and 100's more DHTML scripts, visit http://dynamicdrive.com Xoffset=-60; // modify these values to ... Yoffset= 20; // change the popup position. var old,skn,iex=(document.all),yyy=-1000; var ns4=document.layers var ns6=document.getElementById&&!document.all var ie4=document.all if (ns4) skn=document.dek else if (ns6) skn=document.getElementById("dek").style else if (ie4) skn=document.all.dek.style if(ns4)document.captureEvents(Event.MOUSEMOVE); else{ skn.visibility="visible" skn.display="none" } document.onmousemove=get_mouse; function popup(msg,bak){ var content="<TABLE WIDTH=225 BORDER=3 BORDERCOLOR=#FF8C00 CELLPADDING=2 CELLSPACING=4 "+ "BGCOLOR="+bak+"><TD ALIGN=center><FONT COLOR=#000000 SIZE=2>"+msg+"</FONT></TD></TABLE>"; yyy=Yoffset; if(ns4){skn.document.write(content);skn.document.c lose();skn.visibility="visible"} if(ns6){document.getElementById("dek").innerHTML=c ontent;skn.display=''} if(ie4){document.all("dek").innerHTML=content;skn. display=''} } function get_mouse(e){ var x=(ns4||ns6)?e.pageX:event.x+document.body.scrollL eft; skn.left=x+Xoffset; var y=(ns4||ns6)?e.pageY:event.y+document.body.scrollT op; skn.top=y+yyy; } function kill(){ yyy=-1000; if(ns4){skn.visibility="hidden";} else if (ns6||ie4) skn.display="none" } //--> </SCRIPT> {/literal} |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: popup information box help please
Hi photo
Many thanks for your help i will give this a try and see what happens. Many thanks Dean
__________________
-------------- V4.6.1 xcartmods - Reboot Template X-cart - X-PDF Altered Cart - Checkout one |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: popup information box help please
Hi Photo
Thanks for your help on this, unfortunatly it didn't work but ive been back to http://dynamicdrive.com and founf another one that has worked. Thanks again
__________________
-------------- V4.6.1 xcartmods - Reboot Template X-cart - X-PDF Altered Cart - Checkout one |
|||||||||
#7
|
|||||||
|
|||||||
Re: popup information box help please
Quote:
Which one did you use to work? Thanks!
__________________
Pedro
digitalnotions.i2u.shop shop.modestclassy.com.au4.1.9 X-Cart
X-Cart Business 5.3.6.0 Multi-vendor 5.3.6.0 |
|||||||
|
|||
X-Cart forums © 2001-2020
|