This is a discussion on "[SOLVED] Changing pictures on same page" within the JavaScript Forum section. This forum, and the thread "[SOLVED] Changing pictures on same page are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] Changing pictures on same page
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
[SOLVED] Changing pictures on same page
Good evening,
how do i go about changing a picture on a page without the page having to reload. For example, you have a shirt, same design 5 different colours, you want to display 1 on the page but have a button on the page that changes the colour. Not to select a colour just to move to the next colour. Any help will be greatful Cheers Dan |
|
|
|
||||
|
Re: Changing pictures on same page
this would require JavaScript. I'm sure someone can recommend a script.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
||||
|
Re: Changing pictures on same page
ok, this should work
put this in your head section
then for each link option (green, red, etc) you need the following
let me know if that helps, and post a link once you have implemented it so that we can have a look. Stew
__________________
WelshStew Lead Administrator tierney rides tboard - uk site | xtreme wales - extreme clothing If you think I've helped, click the "Thanks" webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
Last edited by karinne; Oct 2nd, 2007 at 21:19. Reason: just checking something. |
|
|||
|
Re: Changing pictures on same page
Cheers for the info so quick have tested it (its great), might be able to post a link tonight if i finsh it.
Cheers Dan |
|
||||
|
Re: Changing pictures on same page
cool, would be interested to see how you implement this.
__________________
WelshStew Lead Administrator tierney rides tboard - uk site | xtreme wales - extreme clothing If you think I've helped, click the "Thanks" webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
|
|
||||
|
Re: Changing pictures on same page
just looking to buy some new threads when I came across meatandcheese who are doing the same thing but in a slightly different way. you can just *borrow* their code if you want
Stew
__________________
WelshStew Lead Administrator tierney rides tboard - uk site | xtreme wales - extreme clothing If you think I've helped, click the "Thanks" webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
|
|
|||
|
Re: Changing pictures on same page
Done it,
Cheers for the assitance, have a look around the website if you wish still underconstruction. Its just a personal one. http://hondavfrnc30.friendsworld.co....ons/index.html thanks again Dan |
|
||||
|
Re: Changing pictures on same page
looks great
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] CSS changing page colour etc | R8515198 | Web Page Design | 10 | Nov 27th, 2007 00:54 |
| Pictures in slide show on a web page | Anne | Introduce Yourself | 5 | Feb 14th, 2007 18:48 |
| Ive A Php Page I Need Help With My Pictures Dont Appear Were They Should | jingles | PHP Forum | 3 | Sep 24th, 2006 09:43 |
| Changing URL without refreshing page ? | Perfection Studios | JavaScript Forum | 4 | Sep 14th, 2006 12:22 |
| Changing css with page refresh | krrish | Web Page Design | 3 | Jul 26th, 2006 08:20 |