icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.
Old May 16th, 2004, 8:44 PM   #1 (permalink)
Surpass Fan
Comfy Contributor
 
Joined in Jan 2004
Lives in drakeshangout.com/forum
Hosted on PASS3
187 posts
Gave thanks: 0
Thanked 0 times
SSI help.

Is their a way you can include a picture with SSI?
cdrake is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 16th, 2004, 9:10 PM   #2 (permalink)
Surpass Fan
Comfy Contributor
 
Joined in Jan 2004
Lives in drakeshangout.com/forum
Hosted on PASS3
187 posts
Gave thanks: 0
Thanked 0 times
Better yet, is there any javascipt that i could use to tell a picture to load based on the directory its in?
cdrake is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 16th, 2004, 9:12 PM   #3 (permalink)
The Coolness
Excelling Contributor
 
bassdaddy777's Avatar
 
Joined in May 2003
Lives in Sandpoint, Idaho
Hosted on Dime5
862 posts
Gave thanks: 0
Thanked 0 times
Quote:
Originally Posted by cdrake
Better yet, is there any javascipt that i could use to tell a picture to load based on the directory its in?
I was about to answer your first question when you confused me with the second. Please tell me more.
__________________
Bronze Reseller
Pass36
bassdaddy777 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 16th, 2004, 9:37 PM   #4 (permalink)
Surpass Fan
Comfy Contributor
 
Joined in Jan 2004
Lives in drakeshangout.com/forum
Hosted on PASS3
187 posts
Gave thanks: 0
Thanked 0 times
Basically what Im trying to accomplish is this.

Frontpage has updates paths which I dont want so I was wondering if javascript could accomplish it for me just in a different way by loading a picture based on the directory the page is in.

Code:
<img border="0" src="/main.gif" width="146" height="146">
It updates a page in another directory like this

Code:
<img border="0" src="../main.gif" width="146" height="146">
I dont want the .. which you cannot tell frontpage not to do.

I did make this but it only loads a picture based on the title of the page and everyone of my pages have different titles so im lost
Code:
<script language="JavaScript">

var title = document.title;

document.write ("<img src='" + title + "'.ext>");

</script>
cdrake is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 16th, 2004, 9:38 PM   #5 (permalink)
Surpass Fan
Comfy Contributor
 
Joined in Jan 2004
Lives in drakeshangout.com/forum
Hosted on PASS3
187 posts
Gave thanks: 0
Thanked 0 times
Also, Is there a way to display a pages title in a page?
cdrake is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 16th, 2004, 9:40 PM   #6 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,395 posts
Gave thanks: 28
Thanked 94 times
With PHP you can write the HTML dynamically, which allows you to change the title of the page, and content based on location.

I've stopped using frontpage, so I'm not certain what it is you are exactly trying to accomplish.

John


PS - this is my 600th post!
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 16th, 2004, 9:59 PM   #7 (permalink)
The Coolness
Excelling Contributor
 
bassdaddy777's Avatar
 
Joined in May 2003
Lives in Sandpoint, Idaho
Hosted on Dime5
862 posts
Gave thanks: 0
Thanked 0 times
FrontPage gives me hives! :pills:

I'll keep thinking about it, but... can you specify the image location? Even to the point of http://www.domain.com/images/img.gif?

FrontPage makes things very easy until you want to do something more than the engineers think you should, then it says that you really don't need to do that anyway.

Hey Big John, that sound like liberal politicians to you too? :tongue1:
__________________
Bronze Reseller
Pass36
bassdaddy777 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 16th, 2004, 10:02 PM   #8 (permalink)
Web Hosting Super Ninj4
Super #1
 
miakeru's Avatar
 
Joined in Sep 2003
Lives in Fullerton, CA
1,581 posts
Gave thanks: 0
Thanked 2 times
Quote:
Originally Posted by cdrake
I dont want the .. which you cannot tell frontpage not to do.
Just edit it out yourself.
miakeru is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 16th, 2004, 11:11 PM   #9 (permalink)
Surpass Fan
Comfy Contributor
 
Joined in Jan 2004
Lives in drakeshangout.com/forum
Hosted on PASS3
187 posts
Gave thanks: 0
Thanked 0 times
On every single page? I think not.

I want this image to load on the games section http://drakeshangout.com/images2/short23.gif

Flash Toons section
http://drakeshangout.com/humor/image...toonslogo2.gif

etc.

Is there any code that can say hmmmmm this page is in the games section so ill load that picture.
cdrake is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On