Jump to content
View in the app

A better way to browse. Learn more.

300ZX Owners Club

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

NZR - Web / menu design - help an incompetent

My first site was a mess and not easy to navigate. So I bodged a navigation bar and cut / pasted it onto every page top and bottom just to be nice.

 

Looked naff and kludged, tho'.

 

After a hint in a mag somewhere, glued together a frameset (and went through every page deleteing and tweaking and getting even more bored) and navigation is now a lot easier.

 

Looks better too.

 

BUT I just discovered that it is not easy to refer people to a URL of a page within the site - in fact that's the first question - is it possible?

 

By which I mean to send the URL of a particular page in such a way that, when clicked by the recipient, the frameset appears (with header and left navigation frame) with the right page in it.

 

Or do have to re-design the site yet again? (F)

 

Second question, if I do have to redesign, how do I get to have a single menu structure without having to cut and paste the entire bloody thing into every damn page each time I make one small change?

 

Is this a java thing? Or css? Beleive me, I have just spent 3 hours bouncing around the net to try to find the answer - failed and consequently am asking the most intelligent and informed people in the world. You.

 

(now, will that shameless grovelling get helpful responses? biggrin.gif )

 

TIA - Gio

 

------------------

closetothezx2.jpg

Featured Replies

What web server does your site use? If IIS (microsoft)and ASP (active server pages) is active then you can do this.

 

">

 

Then just call the site with http://www.yourdomain.com/index.asp?page=pagerequired.htm

 

To find out the web server of your host use http://www.network-tools.com and use the http headers option with your domain. This will return the http headers which will tell you the web server.

 

If not IIS you will have to ask someone like Craig as I don't do Perl/php etc lol wink.gif

 

To have a single instance of a menu use an include file:

 

 

HTH

Martin

 

------------------

icon.gif

  • Author

Hi craig, thanks. This has gone straight to my list of favourites smile.gif

 

The site itself does what I want and has the same limitation as mine!

 

Have a look at the URL as you navigate through the site. It doesn't change so if I find an interesting page, I cannot send you the reference. I can only send you the starting URL and then describe to you how to navigate to the desired page. This is pants and I now understand why not everyone loves frames.

 

Is there a workround to this or is this inherent in frames?

Gio, what is the url of the site you are trying to achieve this on?

 

One other way to do this is to create a different frameset for every senario. You can then call the correct frameset to display the pages you require. Not very nice but it will work.

 

For example you would call:

http://www.yourdomain.com/frameset1.htm http://www.yourdomain.com/frameset2.htm

 

etc

 

------------------

icon.gif

  • Author

Hi Martin,

http://www.netcomuk.co.uk/~webster/gio/gioindex.html is the site

 

But if I want to send you the URL of, say, the page on chassis numbers, I send http://www.netcomuk.co.uk/~webster/gio/chassisnos.html

 

When you click on this you only see this page and not the navigation links or header as you would from the index page frameset.

 

What's the get-round?

ok without using server side technologies which in this instance I cannot help you.

 

One way is how I have mentioned above and create a frameset for every senario frown.gif Not very nice.

 

Here is your current gioindex.html file:

 

Gio's Zed Pages - a Zed-related Miscellany

 

 

 

 

with apologies to those without a browser supporting frames, this site uses them

  • Author

Thanks, Martin - in DOH! mode for the create 10 framesets idea still can't see what it achieves.

 

For the Javascript idea, does it work something like this?

on loading the page, the java checks to see if it is in the top window. If it is, it calls the index frameset and then calls itself to be in that frameset.

 

OTOH, if all it takes is to do the include thing you mentioned earlier, I can feel a move to server side includes equipped host coming on. That strikes me as a much easier solution or have I over simplified?

 

Cheers - Gio

Gio, you on messenger mate, add me and we can discuss.

 

martinfarrinuk@hotmail.com or yahoo

martinfarrin@yahoo.com

 

Regards

Martin

 

------------------

icon.gif

Gio

 

Copy and paste this into your gioindex.html page.

 

When you require a certain page in the main frame just add a ? and the name of the html page to the end of the URL. e.g.

http://www.netcomuk.co.uk/~webster/gio/gioindex.html

 

for normal or

http://www.netcomuk.co.uk/~webster/gio/gioindex.html?chassisnos.html

 

to display chassisnos.html in the frame. This will work for all your pages.

 

var strPage="";

var boolCapture=false;

var strURL=window.location.toString();

for(var i=0;i

var char=strURL.charAt(i);

if(boolCapture){

strPage=strPage+strURL.charAt(i);

}

if(char=='?'){

boolCapture=true;

}

}

if(strPage.length==0){

strPage="main.html";

}

document.writeln('

')

document.writeln('')

document.writeln('

')

document.writeln('')

document.writeln('')

document.writeln('

')

document.writeln('')

document.writeln('')

document.writeln('

')

document.writeln('

with apologies to those without a browser supporting frames, this site uses them

')

document.writeln('')

document.writeln('')

document.writeln('

  • Author

Thanks Martin,

 

did you get the e-mail I sent this pm?

 

I sent to martinfarrin@yahoo.com - was that wrong?

 

Thanks - Gio

  • Author

Hi Martin,

 

please accept 1,349,952 apologies for fouling up your e-mail address and wasting your efforts.

 

Mea culpa, mea culpa, mea maxima culpa

 

Yours highly embarrasedly - Gio

lol its lucky i enjoy my job smile.gif seriously it was only took me 5 hours wink.gif biggrin.gif

 

catch ya l8rs.

 

smile.gif

 

Martin

 

------------------

icon.gif

  • Author

aaargh - eeek - please accept in partial recompense, this beer voucher.

 

There is no expiry date (unless I expire) - just print out and wave in front of my face at any 300zx event while shouting "you wasted five hours of my life you complete and utter [expletive deleted]" and I will be forced to buy beer for you and your (no doubt highly beautiful and intelligent)companion.

 

Damn. Sorry. Oops.

As Warren would say muwhahahahaha, I was only joking but I never refuse a beer voucher biggrin.gif

 

Would I have got two if I had said it took 10 hours? wink.gif, no thats just being greedy.

 

Seriously it was 20 mins top and np at all.

 

As far as my "highly beautiful and intelligent companion", well no worries there as I still aint found her wink.gif, keep spending too much time in front of a computer screen.

 

Beer voucher printed out in antipicition of next meet biggrin.gif

 

------------------

icon.gif

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Important Information

Terms of Use

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.