Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
dschulze
Client


Joined: Dec 31, 2005
Posts: 25

PostPosted: Sun Jul 30, 2006 10:57 pm Reply with quote

I created a simple, static custom block containing an image (calendar jpeg for a given month) with an href to another site's page hosting a calendar application. Here's the content assignment:

Code:


$content = "<a href=\"http://www.XXXX.com/cgi-bin/Calcium310.pl?CalendarName=Default&amp;Op=ShowIt&amp;Amount=Month&amp;NavType=Absolute&amp;Type=Block&amp;Date=2006/7/1\" target=\"_blank\"><img src=\"../images/lisra/calendar0706sm.jpg\" border=\"0\" /></a>\n";


All is well when I first access the site but the image disappears after a few refreshes. I have tried various mods to this code and deactivate/activate. When I remove the href, the image is displayed and seems to stick around. Add the href back and, eventually, the same problem. A search of the site has turned up some things, all of which I tried to no avail. Thanks for the help.
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Mon Jul 31, 2006 3:48 am Reply with quote

try using the full url for the image..
 
View user's profile Send private message
dschulze
PostPosted: Mon Jul 31, 2006 9:01 pm Reply with quote

Ok, I modified to specify the full path:

Code:
$content = "<a href=\"http://www.XXXX.com/cgi-bin/Calcium310.pl?CalendarName=Default&amp;Op=ShowIt&amp;Amount=Month&amp;NavType=Absolute&amp;Type=Block&amp;Date=2006/8/1\" target=\"_blank\"><img src=\"http://www.lisranet.localhost/images/lisra/calendar0806sm.jpg\" border=\"0\" /></a>\n";


The image was visible until I closed the browser and re-opened it when the image was once again gone. Very frustrating indeed! Thanks for your help...I appreciate it.
 
hitwalker
PostPosted: Tue Aug 01, 2006 12:22 am Reply with quote

mmm,can you provide a link to see this...
just to rule out it isnt your browser.......
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
You cannot post new topics in this forum
You cannot 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©