Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 HTML to ASP script. MY NEW ID: IDIOT
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ribkick
Junior Member

USA
296 Posts

Posted - 24 April 2002 :  15:16:03  Show Profile
I would like to know if any of you would know how to do this:

Our front page on our site is index.htm (obviously an html page) but the forum is an asp page, default.asp.

What I'd like to do is when someone clicks "Enter Site" on our main index page, the link takes them to default.asp but I'd like to know how or what code I can put in the link on the main page to direct them to default.asp and then act as if they clicked the "Home" link at the top of the forum to refresh the page.

Tried adding the Home link code to the html page but of course it won't run properly. Perhaps an asp link rather than an actual html link is the answer but how do you combine asp on an index.html page?

We're having a problem when you come in from the index page, the pictures in our forums don't load until you click Home at the top of the forum, then all refreshes and loads as expacted. This is not a problem with the Snitz software, more a problem with the Java we're using to load a different forum picture in each forum; I'm guessing anyway. All works correctly when you click Home or come in directly to default.asp without going to our front page first.

Anybody know how? Sure hope so!



Edited by - Ribkick on 24 April 2002 15:18:40

Edited by - Ribkick on 24 April 2002 17:59:08

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 24 April 2002 :  17:15:34  Show Profile
It shouldn't matter how you get to default.asp. If you have a link in your index.htm that loads the forum in the same window, it would be the same as if the user typed it in the address bar. You just need a link on your index.htm like:

<a href="forum">Click here for the forums</a>

-or-

<a href="forum/default.asp">Click here for the forums</a>

If you think the problem is with the java you use in the forums, then provide us with a little more info.

Nikkol
Go to Top of Page

Ribkick
Junior Member

USA
296 Posts

Posted - 24 April 2002 :  18:05:59  Show Profile
Thanks Nikkol. I hoped to get back here before anyone was troubled enough to answer.

Actually, the links I created were simply to default.asp, not the entire path with the http and www in front. Once I did that, problem solved.

Sometimes the answer is right in front of you and no matter how hard you look, you just don't see it.

My new ID around here? "Idiot"

(I won't edit the orginal post, save for the title so some can have a laugh at my expense. Admin feel free to delete.)

Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 24 April 2002 :  18:10:45  Show Profile
lol

it happens to the best of us

Nikkol
Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 25 April 2002 :  04:18:45  Show Profile  Visit Kat's Homepage
quote:


(I won't edit the orginal post, save for the title so some can have a laugh at my expense. Admin feel free to delete.)





Admin are not likely to delete this. How do you know that someone else won't need the same answer?

KatsKorner

Installation Help | Snitz Mods | Forum Hosting
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07