Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Loading images from a table link to another place in the table
Old 03-17-2006, 08:38 AM Loading images from a table link to another place in the table
Junior Talker

Posts: 1
Trades: 0
Hi Folks,

I came across the following:
Go to
https://www.broderbros.com/cgi-bin/b....htm?sr=CH100W

Next to the shirt is a link for a color chart. Click it. A window comes up with a table with color swatches. If you click a color swatch a new shirt loads into the table with the color of the color swatch. Can someone explain to me how this is done?

I downloaded the source code of this popup window and I saw no javascript code imbedded into the source code.

Thanks,
libman
libman is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-17-2006, 10:34 AM Re: Loading images from a table link to another place in the table
jyoz22's Avatar
Ultra Talker

Posts: 278
Location: Orlando, FL
Trades: 0
It's a cgi script. or php.

Last edited by jyoz22; 03-17-2006 at 10:36 AM..
jyoz22 is offline
Reply With Quote
View Public Profile
 
Old 03-17-2006, 10:45 AM Re: Loading images from a table link to another place in the table
ChipJohns's Avatar
I don't know! Do you?

Posts: 488
Name: Chip Johns
Location: Savannah Georgia
Trades: 0
Hi libman,

If you look at the url link for each color you will see that it is the same html
page, but it is using what we call a Querry String along with the actual page URL

By identifying different varriable with the querry string the page is loading a
different graphic.

EX: The top address is for the color black, the second is for the color Stone

https://www.broderbros.com/cgi-bin/b...H100W&color=02
https://www.broderbros.com/cgi-bin/b...H100W&color=10

Notice the difference?

Here is the img tag for the black <img src="/images/2006/products/CH100W_02.jpg">
Here is the img tag for the stone <img src="/images/2006/products/CH100W_10.jpg">

Compare these to the query strings that were used. What they are doing
is using these variable to determine which image to load..

You need to use server side programming to accomplish this. Hope this helps.
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Reply     « Reply to Loading images from a table link to another place in the table
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11603 seconds with 12 queries