Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Code For Hiding Address Urls?

Thread Tools
 
Search this Thread
 
Old 28 February 2002, 03:37 PM
  #1  
Puff The Magic Wagon!
Moderator
Support Scoobynet!
Thread Starter
iTrader: (2)
 
Puff The Magic Wagon!'s Avatar
 
Join Date: May 2000
Location: From far, far away...
Posts: 16,978
Received 15 Likes on 9 Posts
Cool

Instead of having "http://www.scoobynet.co.uk/bbs/newtopic.asp?ForumID=34" in the address line, what would be the code to just have, say, "http://www.scoobynet.co.uk/" showing?

Mainly for tidyness sake, but to stop people copying strings out or book-marking them - well making it harder to



Old 28 February 2002, 04:15 PM
  #2  
Fosters
Scooby Regular
 
Fosters's Avatar
 
Join Date: Jul 2000
Location: Islington
Posts: 2,145
Likes: 0
Received 0 Likes on 0 Posts
Post

It's all in the frames m8

Old 28 February 2002, 04:53 PM
  #3  
Blow Dog
Scooby Regular
 
Blow Dog's Avatar
 
Join Date: May 1999
Location: London
Posts: 3,855
Likes: 0
Received 0 Likes on 0 Posts
Post

Aye.
Old 01 March 2002, 11:21 AM
  #4  
Puff The Magic Wagon!
Moderator
Support Scoobynet!
Thread Starter
iTrader: (2)
 
Puff The Magic Wagon!'s Avatar
 
Join Date: May 2000
Location: From far, far away...
Posts: 16,978
Received 15 Likes on 9 Posts
Talking

Guess its referred to in here

http://www.echoecho.com/jsframes.htm

As I understand, all sub-frames opened or called from the main "domain" (for want of a better word) will open inside of the first frame and thus report (on the address line) the address from which the main frame is displaying and not those of the sub-frames.

Now getting it working is another matter!
Old 01 March 2002, 01:15 PM
  #5  
Fosters
Scooby Regular
 
Fosters's Avatar
 
Join Date: Jul 2000
Location: Islington
Posts: 2,145
Likes: 0
Received 0 Likes on 0 Posts
Post

yup.
Old 01 March 2002, 03:15 PM
  #6  
Puff The Magic Wagon!
Moderator
Support Scoobynet!
Thread Starter
iTrader: (2)
 
Puff The Magic Wagon!'s Avatar
 
Join Date: May 2000
Location: From far, far away...
Posts: 16,978
Received 15 Likes on 9 Posts
Exclamation

Well, sorted that one out

BUT

Some of the pages make a call to a Navbar on the left hand side. Navbar needs to change to reflect new menu options, dependant on the page opened.

If I do as above, the pages open "within" the frame as required but with extra Navbars The original navbar with its options and the new navbar that I need displayed instead

Doh!
Old 01 March 2002, 03:21 PM
  #7  
Andrewza
Scooby Regular
 
Andrewza's Avatar
 
Join Date: Jan 2002
Posts: 667
Likes: 0
Received 0 Likes on 0 Posts
Post

you do something like split the page into two frames, one being the top bit (a), then one the main content and nav bar(b). In the lower frame you load a page which is another frameset that splits up the navbar(c) and content(d). Then when you need to change the navbar for differrent sections you target b and link to a frameset that pulls in a new nav bar and content page.

If that makes something like sense
Old 01 March 2002, 03:22 PM
  #8  
IanW
Scooby Regular
 
IanW's Avatar
 
Join Date: Jul 2001
Posts: 21,865
Likes: 0
Received 0 Likes on 0 Posts
Post

How about doing a frame redirect on index.htm that will transparently move to something like main.htm and this will then mask your URL's
Old 01 March 2002, 03:25 PM
  #9  
IanW
Scooby Regular
 
IanW's Avatar
 
Join Date: Jul 2001
Posts: 21,865
Likes: 0
Received 0 Likes on 0 Posts
Post

<html>
<head>
<title>Welcome to the Website</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<frameset rows="100%">
<frame src="Enter new Location here">
</frameset>
<noframes><body bgcolor="#FFFFFF" text="#000000">

</body></noframes>
</html>


Sometihng like that should do it. Its what i use to redirect a domain name to a bit of free webspace i have.




All times are GMT +1. The time now is 01:22 PM.