Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2010-11-01, 11:21 AM   #1
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
Question Code to make a image popup when mouseover a text link

I've seen TGP scripts that make pages like this but I need to do it on some text links inside of a member's area so that when a member mouseovers a text link for a movie a thumb of that movie pops up.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2010-11-01, 12:14 PM   #2
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
Cleo - do you have a copy of TGPX? If you do, you can look in the "examples" folder for a file called "mouseover_thumbs.txt" and you'll find the code they use for that effect. If you don't have a copy I can send you the code from that file. It uses the jquery.js library for the effect.
__________________
"If you're happy and you know it, think again." -- Guru Pitka
Simon is offline   Reply With Quote
Old 2010-11-01, 12:24 PM   #3
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
Quote:
Originally Posted by Simon View Post
Cleo - do you have a copy of TGPX? If you do, you can look in the "examples" folder for a file called "mouseover_thumbs.txt" and you'll find the code they use for that effect. If you don't have a copy I can send you the code from that file. It uses the jquery.js library for the effect.
I'm still using AutoGallerySQL so no I don't but that is where I saw the effect and wasting a bunch of time last night trying to figure out how TGPX did it.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2010-11-01, 12:28 PM   #4
Nymph
Get me!
 
Nymph's Avatar
 
Join Date: Jan 2009
Location: Lower Alabama-The Redneck Riviera
Posts: 677
Send a message via ICQ to Nymph Send a message via Yahoo to Nymph
I think part of it is written in the core. I was looking at mine, and I know what the call is for it, but can't find the core code that the call uses to do this.
Nymph is offline   Reply With Quote
Old 2010-11-01, 12:36 PM   #5
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
Quote:
Originally Posted by Cleo View Post
I'm still using AutoGallerySQL so no I don't but that is where I saw the effect and wasting a bunch of time last night trying to figure out how TGPX did it.
Actually, that effect was included with AutoGallerySQL too, so you can find that file in the examples folder there too. And since it's an earlier version it doesn't require you to have the jquerry.js library installed somewhere.

Let me know if you don't have it for some reason and I'll get it to you.
__________________
"If you're happy and you know it, think again." -- Guru Pitka
Simon is offline   Reply With Quote
Old 2010-11-01, 12:43 PM   #6
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
Quote:
Originally Posted by Simon View Post
Actually, that effect was included with AutoGallerySQL too, so you can find that file in the examples folder there too. And since it's an earlier version it doesn't require you to have the jquerry.js library installed somewhere.
Just looked through all the templates in my example folder and didn't find mention of this code anywhere.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2010-11-01, 12:44 PM   #7
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
Quote:
Originally Posted by Nymph View Post
I think part of it is written in the core. I was looking at mine, and I know what the call is for it, but can't find the core code that the call uses to do this.
For the TGPX version it calls the jquerry.js library that's in the "includes" folder; the one in the main directory, not the one inside the admin folder.
__________________
"If you're happy and you know it, think again." -- Guru Pitka
Simon is offline   Reply With Quote
Old 2010-11-01, 12:54 PM   #8
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
Cleo - you have a pm
__________________
"If you're happy and you know it, think again." -- Guru Pitka
Simon is offline   Reply With Quote
Old 2010-11-01, 02:36 PM   #9
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
Quote:
Originally Posted by Simon View Post
Cleo - you have a pm
Thanks, not sure how I was missing that.

I like it. Very simple, easy to do and works great.

Attached Images
File Type: jpg two-screen-shots.jpg (90.1 KB, 174 views)
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2010-11-01, 06:01 PM   #10
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
After messing around with the above solution for a while I decided to instead go with this solution since it puts the thumb over the end of the text link instead of at a fixed point on the page like the other solution.
http://www.dynamicdrive.com/style/cs...-image-viewer/
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:30 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc