Header

guzmere
16 Jan 2013, 18:40Hi quite some time ago Pertex helped me with a command to get rid of the top header. The command was
(request (Hide, "Location")
I've placed it in the ShowRoomDescription and it worked in 5.2, however I've tried it in 5.3 and it still shows the blue header at the top. Am I placing it in the wrong area? Thanks Terry

(request (Hide, "Location")
I've placed it in the ShowRoomDescription and it worked in 5.2, however I've tried it in 5.3 and it still shows the blue header at the top. Am I placing it in the wrong area? Thanks Terry




The Pixie
16 Jan 2013, 18:46Only guessing, but it might want "location" rather than "Location"

guzmere
16 Jan 2013, 18:51I've tried that and this is what it came up with. Thanks Terry



The Pixie
16 Jan 2013, 19:33In that case it is sounds like a bug.

guzmere
16 Jan 2013, 19:40I've sent a request to Alex to let him know thanks Terry.





homeeman
30 Jan 2013, 07:24I noticed that for some reason, I wasn't having the same problem as you after the upgrade, so I did a little digging, and (assuming you haven't figured out a workaround already) I put together what I did that got rid of the header bar.
First of all, if you want the bar gone for the entire duration of the game, the best place to put it is in the start script for the game, which you can find under the "scripts" tab while you're looking at the game object (or if you're in code view, it's the "start" attribute). But that just gets rid of the text, to get rid of the blue bar, you need to insert an html file, which is also best in the start script for the game.
All together, in code view that's:
And the html file should look like this:
Hope I've helped!
First of all, if you want the bar gone for the entire duration of the game, the best place to put it is in the start script for the game, which you can find under the "scripts" tab while you're looking at the game object (or if you're in code view, it's the "start" attribute). But that just gets rid of the text, to get rid of the blue bar, you need to insert an html file, which is also best in the start script for the game.
All together, in code view that's:
<game name="Example">
<start type="script">
insert ("Test.html")
request (Hide, "Location")
</start>
</game>
And the html file should look like this:
<html>
<head>
<style type="text/css">
.ui-widget-header
{
border: none;
background: transparent;
}
</style>
</head>
</html>
Hope I've helped!

guzmere
30 Jan 2013, 14:44Hi homeeman thanks for that I had forgotten about it. I kind of stayed with 5.2 but if I can get over that it would be great. I would move up to 5.3. I have made an html file in my text pad and copied your coding but where do I save it so Quest can call upon it from the start script? Thanks for thinking of me Terry.






guzmere
30 Jan 2013, 17:30Hi Homeeman never mind I've just sorted it out. It look far better now, thanks a million. Terry
and one for luck
















guzmere
03 Feb 2013, 20:45homeeman wrote:I noticed that for some reason, I wasn't having the same problem as you after the upgrade, so I did a little digging, and (assuming you haven't figured out a workaround already) I put together what I did that got rid of the header bar.
First of all, if you want the bar gone for the entire duration of the game, the best place to put it is in the start script for the game, which you can find under the "scripts" tab while you're looking at the game object (or if you're in code view, it's the "start" attribute). But that just gets rid of the text, to get rid of the blue bar, you need to insert an html file, which is also best in the start script for the game.
All together, in code view that's:<game name="Example">
<start type="script">
insert ("Test.html")
request (Hide, "Location")
</start>
</game>
And the html file should look like this:<html>
<head>
<style type="text/css">
.ui-widget-header
{
border: none;
background: transparent;
}
</style>
</head>
</html>
Hope I've helped!
Hi homeeman your coding works but only once if you clear the screen within the game to go to the next location or for whatever reason the header comes back? Would you know why? Thanks Terry




homeeman
04 Feb 2013, 01:50I don't know why, exactly, but I did encounter this problem. If you load the html file again right after you clear the screen, it effectively takes care of the problem. It could be a bug... not sure.

guzmere
04 Feb 2013, 07:52Thanks a lot homeeman it works a treat the only problem is that when I change to a new location I like to clear the screen to tidy up, so that means I will have to build that command into every room. But it's worth it to get rid of the header. Thanks again for that it was great, have a good day. Terry






jaynabonne
04 Feb 2013, 13:05I had the same issue, so I just created an alternate screen clear function which called the Quest one and then loaded the HTML file. Then I call that one instead when I need to clear the screen. That saves you from dotting the HTML file load all over the place... 


guzmere
04 Feb 2013, 18:05Jaynabonne I'll look at that thanks for the heads up. I'm sorry to bother you but could you have a quick look at my new game I'm working on. It only has one page so far but I would like your opinion on it. The lay out and so forth, you will have to download to get the proper effect, because for some reason it doesn't work online. The link is
http://www.textadventures.co.uk/review/1029/ Thanks so much Terry. P. S. this breakthrough for me is like Moses parting the red sea lol and also look at where the commas should be and let me know why there are boxes instead? Please

http://www.textadventures.co.uk/review/1029/ Thanks so much Terry. P. S. this breakthrough for me is like Moses parting the red sea lol and also look at where the commas should be and let me know why there are boxes instead? Please





jaynabonne
04 Feb 2013, 21:09Your apostrophes are coming through as the fancier "Microsoft Word" ones. A standard apostrophe will be straight up and down. The ones in your text point inward. They look more attractive but don't work everywhere. If you are using Word, you can turn off the use of those special characters. You can also search and replace with a normal ['] character.
I'm not sure why the graphics don't work (or, more to the point, how to make them work), but the "file://" thing with a hard-coded path to a folder on your hard-drive definitely won't be it.
(Do they work for you?)
Looks like a nice attempt at a different look!
I'm not sure why the graphics don't work (or, more to the point, how to make them work), but the "file://" thing with a hard-coded path to a folder on your hard-drive definitely won't be it.

Looks like a nice attempt at a different look!

guzmere
05 Feb 2013, 06:17Thanks for looking at it, you know in 5.2 all the graphics work but not in 5.3. There seems to be quite a difference between the two. Oh well never mind, oh does the text in a central box work with all the text in. Many thanks once again Terry






jaynabonne
05 Feb 2013, 16:46Seems to work, as far as I can tell. 


guzmere
05 Feb 2013, 20:41Jaynabonne It's because I'm using a web editor called (frontpage) and that needs extensions to run the powerpoint modules. Even on the server that I use I have to turn on the extensions. But quest doesn't have this facility or at least I don't think so. If I was using (dreamweaver) I wouldn't have these problems. But once again many thanks Terry.






jaynabonne
05 Feb 2013, 22:31Ah yes, FrontPage... Good ol' Microsoft, writing tools that don't create standards-compliant output, instead generating output specific to their other tools (IIS, IE), making it one big, happy, non-compliant family. You definitely want to find a different HTML editor/generator if you plan to step outside Microsoft products. 
