dark_elf
06-22-2005, 12:48 AM
i have the script in there but i dont know how to get the pics there
|
View Full Version : how do i upload the cursors dark_elf 06-22-2005, 12:48 AM i have the script in there but i dont know how to get the pics there Sheila 06-22-2005, 01:36 AM First you need to save the images.....right click on the image and choose "save as" to save the image to your hard drive. If you are using a free webhost, there should be an option somewhere to Upload the images. Browse your computer, click on the file, and then hit upload. dark_elf 06-22-2005, 01:40 AM email me to tell me plz im at: steve_boyd@btinternet.com dark_elf90@hotmail.co.uk pb&j 06-22-2005, 03:49 AM what was hard to understand from sheila's answer? upload the image just like you do for any other image or webpage you create. either using FTP program or "upload" area on your site. instructions for both upload options should be in the HELP or FAQ area of your host site. dark_elf 06-22-2005, 10:47 AM im tryin to make it work on frontpage but i cant MaGiCSuN 06-22-2005, 10:54 AM now i'm confused. You can't get it work or you can't upload it? those are two different things .... if the code doesn't work, post the code here. Like pb&j said, if something is hard to understand post it here... don't ask people to email you because that in the first place isnt what this board is about. Thanks Love, Mirna dark_elf 06-22-2005, 05:16 PM i cant make it work and its the code from this site i cant make work MaGiCSuN 06-22-2005, 06:09 PM again: post the code here otherwise we can't help Love, Mirna dark_elf 06-22-2005, 11:15 PM <script language="JavaScript" type="text/javascript"> /****************************************** * Cross browser cursor trailer script- By Brian Caputo (bcaputo@icdc.com) * Distributed with permission from Brian Caputo by lissaexplains.com * Modified Dec 31st, 02' by DD. This notice must stay intact for use ******************************************/ A=document.getElementById B=document.all; C=document.layers; T1=new Array("image6.gif",45,45,"image5.gif",45,45,"image4.gif",45,45,"image3.gif",45,45,"image2.gif",45,45,"image1.gif",45,45) var offsetx=0 //x offset of trail from mouse pointer var offsety=0 //y offset of trail from mouse pointer nos=parseInt(T1.length/3) rate=50 ie5fix1=0; ie5fix2=0; rightedge=B? document.body.clientWidth-T1[1] : window.innerWidth-T1[1]-20 bottomedge=B? document.body.scrollTop+document.body.clientHeight-T1[2] : window.pageYOffset+window.innerHeight-T1[2] for (i=0;i<nos;i++){ createContainer("CUR"+i,i*10,i*10,i*3+1,i*3+2,"","<img src='"+T1[i*3]+"' width="+T1[(i*3+1)]+" height="+T1[(i*3+2)]+" border=0>") } function createContainer(N,Xp,Yp,W,H,At,HT,Op,St){ with (document){ write((!A && !B) ? "<layer id='"+N+"' left="+Xp+" top="+Yp+" width="+W+" height="+H : "<div id='"+N+"'"+" style='position:absolute;left:"+Xp+"; top:"+Yp+"; width:"+W+"; height:"+H+"; "); if(St){ if (C) write(" style='"); write(St+";' ") } else write((A || B)?"'":""); write((At)? At+">" : ">"); write((HT) ? HT : ""); if (!Op) closeContainer(N) } } function closeContainer(){ document.write((A || B)?"</div>":"</layer>") } function getXpos(N){ if (A) return parseInt(document.getElementById(N).style.left) else if (B) return parseInt(B[N].style.left) else return C[N].left } function getYpos(N){ if (A) return parseInt(document.getElementById(N).style.top) else if (B) return parseInt(B[N].style.top) else return C[N].top } function moveContainer(N,DX,DY){ c=(A)? document.getElementById(N).style : (B)? B[N].style : (C)? C[N] : ""; if (!B){ rightedge=window.innerWidth-T1[1]-20 bottomedge=window.pageYOffset+window.innerHeight-T1[2] } c.left=Math.min(rightedge, DX+offsetx); c.top=Math.min(bottomedge, DY+offsety); } function cycle(){ //if (IE5) if (document.all&&window.print){ ie5fix1=document.body.scrollLeft; ie5fix2=document.body.scrollTop; } for (i=0;i<(nos-1);i++){ moveContainer("CUR"+i,getXpos("CUR"+(i+1)),getYpos("CUR"+(i+1))) } } function newPos(e){ moveContainer("CUR"+(nos-1),(B)?event.clientX+ie5fix1:e.pageX+2,(B)?event.c lientY+ie5fix2:e.pageY+2) } function getedgesIE(){ rightedge=document.body.clientWidth-T1[1] bottomedge=document.body.scrollHeight-T1[2] } if (B){ window.onload=getedgesIE window.onresize=getedgesIE } if(document.layers) document.captureEvents(Event.MOUSEMOVE) document.onmousemove=newPos setInterval("cycle()",rate) </script> thats the code where do i put the pic in the code Combat Babe 06-22-2005, 11:52 PM Are you trying to make the cursor work in the visual part of Frontpage? Because that isn't going to work I don't think (I could be wrong...but if I remember correctly from when I used frontpage for about a week...like two years ago...it won't work). You need to try it on your site, not in Frontpage. Further more...things will be easier in the long run if you just don't use Frontpage. It is notorious for making things a pain. Most editors like it are. I suggest Notepad, or something like syn text editor. You'll probably be happier down the road. dark_elf 06-23-2005, 10:39 AM i only tried frontpage cause i really cant use notepad that well and it is a lot of effort MaGiCSuN 06-23-2005, 11:17 AM well try notepad instead ... and yeah that's what website building is about: effort |