To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Misc Help > ClientSide Technologies

ClientSide Technologies Discuss HTML/CSS/Javascript, and any other client-side technologies, here.

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-02-2006, 10:14 PM   #1
perrohunter
Senior Member
 
perrohunter's Avatar
 
Join Date: Sep 2005
Posts: 167
Image tweaks using php and javascript

Hi.

I was wondering how to make an image to change without reloading the website

for example, when a user clicks a link on my frameset, i want my inframe to switch site (easy) and sametime change the image of a image inside the code (hard)

any idea ?
perrohunter is offline   Reply With Quote
Old 03-03-2006, 12:07 AM   #2
Roger Ramjet
Senior Member
 
Roger Ramjet's Avatar
 
Join Date: Jul 2004
Location: Leeds, UK
Posts: 4,293
Well it's going to be javascript to do this. Try AJAX
also known as XMLHttpRequestor
__________________
David Soussan
Roger Ramjet is offline   Reply With Quote
Old 03-03-2006, 01:39 AM   #3
Drakla
Posts: 13
 
Join Date: Mar 2003
Location: Ewok Village (Wales) / Mos Ilford
Posts: 1,606
You might not even need Ajax you could change the src of an image with javascript, but it really depends on how deep this thing is.
__________________
Not using [php] tags makes the baby jesus cry.
The help of an enthusiastic idiot is worse than the sabotage of an expert.
Don't be a PhPenis - RTFM - still stuck? Then go DAFT (Do A Fekkin Tutorial)
Drakla is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 01:51 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.