loading images in to the current tabe from link

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
modplod
Forum Commoner
Posts: 45
Joined: Mon Feb 27, 2006 11:18 am

loading images in to the current tabe from link

Post by modplod »

Hi all, I have just started writing a simple image blog system, al is going smoothly and the prject looks like a winner (from me anyhow)

my problem today though is how to go about opening a link from an image in the gallery so that it does not open a 1: new window 2: new Tab or 3: reload the page with a white back ground. I need it to load within a certan table after the page has refreshed, also continuing to display the content of the site. I hope someone understands that.

Anyhow, at the moent the whole site runs from a single object and I would like to keep it that way.


if ne1 cares to look the test site running: http://72.29.239.158/
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

Select random images from all sets.
modplod
Forum Commoner
Posts: 45
Joined: Mon Feb 27, 2006 11:18 am

Post by modplod »

I have no idea what your saying anjanesh, but I think I have found a way to do this, thanks anyhow.
darryladie
Forum Commoner
Posts: 62
Joined: Thu Mar 02, 2006 6:14 pm
Location: East Sussex, UK

Re: loading images in to the current tabe from link

Post by darryladie »

modplod wrote:Hi all, I have just started writing a simple image blog system, al is going smoothly and the prject looks like a winner (from me anyhow)

my problem today though is how to go about opening a link from an image in the gallery so that it does not open a 1: new window 2: new Tab or 3: reload the page with a white back ground. I need it to load within a certan table after the page has refreshed, also continuing to display the content of the site. I hope someone understands that.

Anyhow, at the moent the whole site runs from a single object and I would like to keep it that way.


if ne1 cares to look the test site running: http://72.29.239.158/
Have you looked at AJAX?
modplod
Forum Commoner
Posts: 45
Joined: Mon Feb 27, 2006 11:18 am

Post by modplod »

I'm not realy into using 3rd party scripts if I can help it I want my app to be as simple as I can make it

I fixed this problem using if else statments and $_get, it does the job just fine, thanks any how
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Re: loading images in to the current tabe from link

Post by neophyte »

modplod wrote:Anyhow, at the moent the whole site runs from a single object and I would like to keep it that way.
The mother of all classes! This I have to see!
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

I can't comment on the code, but the photography looks nice.
modplod
Forum Commoner
Posts: 45
Joined: Mon Feb 27, 2006 11:18 am

Post by modplod »

Burrito wrote:I can't comment on the code, but the photography looks nice.
Thanks but I can not take credit for that :(
Post Reply