| | |
Help Me Find This Script!
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Hello DaniWeb users, I'm in search of a script that is currently in use by JoyStiq, or something like it if it is unique.
http://i40.tinypic.com/qqqwm1.png
It basically lets you hover the image and a link is displayed under and you can click the image or the link. Visit http://www.joystiq.com/ to see what I mean. Can anybody help me find this script or a script like it?
http://i40.tinypic.com/qqqwm1.png
It basically lets you hover the image and a link is displayed under and you can click the image or the link. Visit http://www.joystiq.com/ to see what I mean. Can anybody help me find this script or a script like it?
Stunt
•
•
Join Date: Apr 2008
Posts: 293
Reputation:
Solved Threads: 11
PHP Syntax (Toggle Plain Text)
<html> <head> <title>Image link</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script type="text/javascript" src="js/prototype.js"></script> <script type="text/javascript" src="js/scriptaculous.js?load=effects"></script> <script type="text/javascript" src="js/lightbox.js"></script> <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" /> </head> <body> <a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a> <a href="images/image-1.jpg" rel="lightbox[roadtrip]">image #1</a> <a href="images/image-2.jpg" rel="lightbox[roadtrip]">image #2</a> <a href="images/image-3.jpg" rel="lightbox[roadtrip]">image #3</a> <p align="left"><b>Demo 1:</b> (individual images):</p> <p align="left"><a href="flower.jpg" rel="lightbox" title="Optional Caption- Spring is here!"> <img src="images/flower_thumb.jpg" border="0" width="100" height="101"></a> <a href="horses.jpg" rel="lightbox" title="Optional Caption- Horses on the run" > <img src="images/horses_thumb.jpg" border="0" width="100" height="70"></a> </p>
for more information check this link...
http://www.dynamicdrive.com/dynamici...box2/index.htm
download Lightbox V2.03a and use sample code
i think this solves your problem...
Last edited by Aamit; Dec 30th, 2008 at 1:36 am.
•
•
Join Date: Feb 2008
Posts: 30
Reputation:
Solved Threads: 4
•
•
•
•
Hello DaniWeb users, I'm in search of a script that is currently in use by JoyStiq, or something like it if it is unique.
http://i40.tinypic.com/qqqwm1.png
It basically lets you hover the image and a link is displayed under and you can click the image or the link. Visit http://www.joystiq.com/ to see what I mean. Can anybody help me find this script or a script like it?
this is dilip here,
i have seen that website but not able to figure out what he/she had done, because he/she uses large amount of javascript code in web page itself. Which is not a good idea, it's just my advice.
Now back to the point i think you can do this using javascript easily.
PHP Syntax (Toggle Plain Text)
<table><tr> <td><a id='one' onmouseover="change_text(this,'answer')">Check Availability<img src='http://www.perrypl.okpls.org/computer.jpg' width=100px height=100px></a></td> <td><a id='two' onmouseover="change_text(this,'answer')">Check Availability<img src='http://www.perrypl.okpls.org/computer.jpg' width=100px height=100px></a></td> <td><a id='three' onmouseover="change_text(this,'answer')">Check Availability<img src='http://www.perrypl.okpls.org/computer.jpg' width=100px height=100px></a></td> </tr></table> <span width="200px;" id="answer"> </span><br/>
PHP Syntax (Toggle Plain Text)
<script> function change_text(control,display) { var ctr=document.getElementById(control); switch(ctr) { case 'one':document.getElementById(display).innerHTML='This text is on ONE'; break; case 'two':document.getElementById(display).innerHTML='This text is on TWO'; break; case 'three':document.getElementById(display).innerHTML='This text is on THREE'; break; default:document.getElementById(display).innerHTML='This text is on default text'; break; } } </script>
Hope this will help you.
Thanks & Regards
Dilip Kumar Vishwakarma
Dilip Kumar Vishwakarma
Programmer
.Net Consulting
If this post is answer for your query then don't forget to mark as an answer.
Programmer
.Net Consulting
If this post is answer for your query then don't forget to mark as an answer.
•
•
Join Date: Apr 2008
Posts: 293
Reputation:
Solved Threads: 11
Last edited by Aamit; Dec 30th, 2008 at 1:49 am.
Did you mean the images at the top?
Looking at the site, it seems that joystiq didn't do this using javascript.. *snoops at code*
AHA! This was done using CSS *falls off chair in shock*. I didn't know this. Thanks for posting it. =)
Anyway, here is an article on how to do it (although the tutorial uses list item links instead of images)
Other info:
the :hover pseudoclass has a quirky behavior in IE though, so test it in your browser first.
Looking at the site, it seems that joystiq didn't do this using javascript.. *snoops at code*
AHA! This was done using CSS *falls off chair in shock*. I didn't know this. Thanks for posting it. =)
Anyway, here is an article on how to do it (although the tutorial uses list item links instead of images)
Other info:
the :hover pseudoclass has a quirky behavior in IE though, so test it in your browser first.
Last edited by kanaku; Dec 30th, 2008 at 2:07 am. Reason: add emphasis to "this was done using CSS" part =p
•
•
•
•
Did you mean the images at the top?
Looking at the site, it seems that joystiq didn't do this using javascript.. *snoops at code*
AHA! This was done using CSS *falls off chair in shock*. I didn't know this. Thanks for posting it. =)
Anyway, here is an article on how to do it (although the tutorial uses list item links instead of images)
Other info:
the :hover pseudoclass has a quirky behavior in IE though, so test it in your browser first.
Stunt
![]() |
Similar Threads
- Need some help with compression / move script (Shell Scripting)
- Download script - Involving a payment first (Existing Scripts)
- need help finding a script or tool to use for a news update program. (PHP)
- where can I find this script (JavaScript / DHTML / AJAX)
- Backup script (IT Professionals' Lounge)
- How to pass the parameters to a script? (Python)
- can not find script file "C:\achi.dll.vbs" (Viruses, Spyware and other Nasties)
- Script Installation Page On php. (PHP)
- Auction Script for Sale (Websites for Sale)
Other Threads in the PHP Forum
- Previous Thread: temp pictures
- Next Thread: Union Site Search with relevance
| Thread Tools | Search this Thread |
.htaccess alerts apache api array autocomplete beginner binary broken cakephp checkbox class cms code convert cron curl database dataentry date display duplicates dynamic echo email emptydisplayvalue error errors explodefunction file files firstoptioninphpdroplist folder form forms function functions google hack href htaccess html htmlspecialchars image include insert ip javasciptvalidation javascript joomla keywords limit link login loop mail matching menu methods mlm multiple mysql network object oop paypal pdf php problem query radio random recursion recursive redirect remote script search securephp server sessions shot sms source space sql subscription syntax system table tutorial tutorials update upload url validator variable video web youtube





