LEE?

  • 1
  • Question
  • Updated 9 years ago
  • Answered
lee,
on your site (hexham.info) on the business page, whats the code for the mouseover image links? i eed to use it on my site & i cant find the code on Dynamic Drive

Thanks
Alex
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes

Posted 9 years ago

  • 1
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hey Alex

I may be speaking out of turn here.... but I believe that Lee got this code from here: http://www.dynamicdrive.com/dynamicin...
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
errm, every time i paste the top code to a test page it just says oops! an error has occured
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Sometimes this may happen. Try leaving it, save it, then go to another page and come back. Do you still get the same message?
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
yes
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Would you like me to help you set it up? I have to run out now.. but you could go to the Yola Test page again and set up a site. Please include your image paths and what you want done.
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
okay, thanks LU :)
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
Hi guys, just to confirm - that is the script i used. Good Luck.

Ive no idea why you would be getting errors.

Leave the link when your done and dusted - i want to see what you do with it.

Lee.
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
im back too :D i will set the stuff now (i forgot to do it before)
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
oops wrong comment :S sorry
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
lee, its at the bottom, I EDITED A CODE & IT WORKED! I DID IT!!!!!!
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Alex.. just wanted to let you know that I'm back. If you want to give me all the stuff, please do so. I'll try my best to get it done by tonight (EST).
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
the stuffs in now
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Okay.. I'll go and take a stab at it then. =)
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
What's the name of the link you want Alex? So when the person hovers over the "name", then the picture pops up. So, let me know the name please.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Also.. what color border and background do you want?
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
And.. one last thing - do you want a caption? If so, what would you like it to say?
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
Answers

the name of the link (URL) is http://sportie.yolasite.com/ball-sports

the border should be Black & the background White

The Caption is

Ball Sports :: By Sportie
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Do you want to leave the text link though as "link 1" or did you have a name to use instead?
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
ohh, the name is Ball Sports
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
All done! =)
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
thanks :), im going in
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
THANKS LITTLEUS!!,

i am tinkering with the code :)
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Tinker away to your heart's content! =D A personal touch is what it needs. =)
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
:) im nearly done, i wil, shear a link when i am done :)
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
ohh uyea, littleus, how do i add 2 more? i need three, how do i do it??
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Look for this line in the script code (1st box)
messages[0] = new Array('resources/1-bs.jpg','Ball Sports::By Sportie');

Copy that line but change the number in the [ ] - go up 1 number for each link.

Then, in your 2nd box,
add this line: <a href="YOUR LINK URL" onmouseover="doTooltip(event,0)" onmouseout="hideTip()">TEXT LINK</a><br>

See the (event, 0), the 0 should be the same number as in your messages [ ].

Change your link accordingly as well as the Link 1 to whatever text you want.

I hope that makes sense.
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
i makes sence :)
alex
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
don't forget to change the image link, and any caption in here:
messages[0] = new Array('resources/1-bs.jpg','Ball Sports::By Sportie');
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
okay :)
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
LITTLEUS!
the task is complete!

look at this

http://sportie.yolasite.com/get-started
or
http://sportie.yolasite.com/get-start...

do you like it? does it work?

thanks

Alex
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Looking good Alex! =)
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
thanks :)