Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Javascript Question

 
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Next:  search sites  
Author Message
user468

External


Since: May 06, 2004
Posts: 6



(Msg. 1) Posted: Thu May 06, 2004 5:16 am
Post subject: Javascript Question
Archived from groups: alt>www>webmaster (more info?)

Would someone have a snippet of code that would allow me to do the same
thing seen on
http://www.overstock.com/cgi-bin/d2.cgi?PAGE=PROFRAME&PROD_ID=666398

On this page, is a main picture, below it is 3 more. If you place your
mouse over one of the smaller pics, it shows up in the main picture. If you
click the picture, it remains as the main picture.

Thank you

 >> Stay informed about: Javascript Question 
Back to top
Login to vote
sp_bhuisman

External


Since: Jun 27, 2003
Posts: 571



(Msg. 2) Posted: Thu May 06, 2004 5:16 am
Post subject: Re: Javascript Question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 06 May 2004 02:16:43 GMT, "a:\" <no DeleteThis @spam.com> wrote:

 > Would someone have a snippet of code that would allow me to do the same
 > thing seen on
<font color=purple> > <a style='text-decoration: underline;' href="http://www.overstock.com/cgi-bin/d2.cgi?PAGE=PROFRAME&PROD_ID=666398</font" target="_blank">http://www.overstock.com/cgi-bin/d2.cgi?PAGE=PROFRAME&PROD_ID=666398</font</a>>
 >
 > On this page, is a main picture, below it is 3 more. If you place your
 > mouse over one of the smaller pics, it shows up in the main picture. If
 > you
 > click the picture, it remains as the main picture.

<img id="mainpic" src="mainpic1.jpg" alt="Main Image" />

<img src="minipic1.jpg" alt="Mini Image 1"
onmouseover="document.getElementById('mainpic').src='mainpic1.jpg';" />
<img src="minipic2.jpg" alt="Mini Image 2"
onmouseover="document.getElementById('mainpic').src='mainpic2.jpg';" />
<img src="minipic3.jpg" alt="Mini Image 3"
onmouseover="document.getElementById('mainpic').src='mainpic3.jpg';" />

A step better would be to preload the images.

The best method would be to use only CSS :hover styles and single image
files to do it, but that's much more complicated.

Grey

--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollory that nothing is ridiculous.
- <a style='text-decoration: underline;' href="http://www.greywyvern.com" target="_blank">http://www.greywyvern.com</a> - ORCA - Camouflaged PHP Web Scripts.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Javascript Question 
Back to top
Login to vote
sholden

External


Since: Jul 25, 2003
Posts: 18



(Msg. 3) Posted: Thu May 06, 2004 5:53 am
Post subject: Re: Javascript Question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 06 May 2004 02:16:43 GMT, \"a:\\\" <no.RemoveThis@spam.com> wrote:
 > Would someone have a snippet of code that would allow me to do the same
 > thing seen on
<font color=purple> > <a style='text-decoration: underline;' href="http://www.overstock.com/cgi-bin/d2.cgi?PAGE=PROFRAME&PROD_ID=666398</font" target="_blank">http://www.overstock.com/cgi-bin/d2.cgi?PAGE=PROFRAME&PROD_ID=666398</font</a>>

Yes, see the source for the webpage.

--
Sam Holden<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Javascript Question 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
JavaScript Question - I was told that all I had to do was to include the following line of code in a web page to cause timely information to magically appear. I have added that line in the body of a web page, but nothing shows up, even after I refresh the page. Obviously..

javascript question - i have a quiz that uses frames and i don't know how to score my quiz. my quiz answers are on one frame and the questions are on another. my quiz has multiple choice and fill in the blank questions as well as check boxes and radio buttons can anyone help....

javascript question - i have a quiz that uses frames and i don't know how to score my quiz. my quiz answers are on one frame and the questions are on another. my quiz has multiple choice and fill in the blank questions as well as check boxes and radio buttons can anyone help....

Javascript Question - You know how some links have javascript embedded in them? Like <a href="javascript:history.go(-1)"></a>... Would this still work if javascript is disabled? -- Sharif Tanvir Karim http://www.onlyonxbox.net

Some Javascripts - Anyone know where I can download javascript for free that will act like the tools used in forum scripts. Like to insert a link, to make something bold, and so on? -- Sharif T. Karim ....you expected some spam here?...
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]