View Full Version : HTML question
happynoodleboy
1st March '05, 14:19
How can I make the individual page on www.cybertechnomage.com just display that itself in the adress bar? At the moment it give all the subpage adresses instead?
I know you can do it with frames but I really dont want to do that.
Cheers for the help
Noodles
Soulari-
1st March '05, 15:57
Mozilla firefox says the wbsite cannot be found.
I can tell you you can make a very small php script for that.
It works with 'if' 'else' and 'include'
I can't script on my own, only modify.
I'm gonna serch for a script if you can't find it :)
TheFella
1st March '05, 16:43
It should read http://www.cybertechnomage.com
Just make a frame like so
<frameset rows="0,100%" frameborder=0>
<frame src="about:blank"> <!-- Blank Frame -->
<frame src="properindex.html"> <!-- The Real Index -->
</frameset>
You wont see the frames but it will keep the address in the address bar the same.
TheFella
1st March '05, 16:52
It's not usually a good idea to keep the address bar static and not display the pages, as it makes it difficult for people to navigate and bookmark. Just a thought.
Soulari-
1st March '05, 17:29
<?php
if(isset($_GET['page'])) {
switch(strtolower($_GET['page'])){
case "home": include "home.php"; break;
default: include "error.php" ; break;
}
}
else {
include "home.php";
}
?>
Try putting this in teh table you want a new page.
Then you link like this:
<a href="index.php?page=home">home</a>
Your server must support PHP btw...
Hope it helps.
Also this is pretty big for it does. It can be smaller like I've seen before but I can't find it anywhere.
Thats not what he wants at all Meteor, if you go back and read his post, you will see that he actually doesnt want anything after the .com
Soulari-
1st March '05, 18:50
Sry I read to quick although my english isn't very good.
But it is also possible in .htaccess but I haven't got any knowledge of that.
I read about some guy achieving this by messing about with the DNS on his server but I know nothing about that so I dont even know if it's true.
You could do it with evil frames if you really wanted the effect, but personally I would've thought (for a shop especially) you would want to let users bookmark the different pages so they could remember a particular one that they were interested in?
Sorry not to help much otherwise.
happynoodleboy
1st March '05, 19:57
I see your point re bookmarks and I think thats very valid- will leave as is.
Thanks for all the help chaps!
HaYl0
1st March '05, 20:33
ok seems as post point is sorted how come they all have strange names on the gallery (the pics looks actually quite good) i supose the whole "image" wouldnt work if Elad had his name as Tim would it? and the front page kinda scared me when it spoke at me :(
TheFella
1st March '05, 21:03
the front page kinda scared me when it spoke at me :(
Thank god! I thought it was me reading out loud again.
happynoodleboy
1st March '05, 22:01
ok seems as post point is sorted how come they all have strange names on the gallery (the pics looks actually quite good) i supose the whole "image" wouldnt work if Elad had his name as Tim would it? and the front page kinda scared me when it spoke at me :(
He's in Israel and I presume Elad is a jewish name. Most of the others are normal (debs, anna, julian, Karl...) apart from a few who we only know by their net names...
Re the front page :D thats my gf's voice put through a vocorder type effect. Came out well smart but now I've lost the wav file... bugger!
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.