The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Website not displaying correctly...HELP
lemusa
post Nov 26 2008, 03:30 AM
Post #1





Group: Members
Posts: 7
Joined: 26-November 08
Member No.: 7,195



I'm reasonably new to web stuff, well ive been messing with it for about 4 years but not solidly so most would class me as learning

my site (www.ahoythere.co.nz) just a site where keep in contact with friends with gallery etc

anyway my problem is the gallery, i used a program called easy button and menu creator for the menu, quite cool, saved me alot of learning :-). Now on my computer (and others ive tried it on) it loads everything fine and when i select an album the menu stays put in its frame (yes i use iframe sorry lol). But when i access it on the internet it basically ignores that frame once a album is selected and the menu disappears. I cant figure out why, im guessin its a simple fix but ive exhausted my knowledge and ideas

Can someone help me out with fixing it? I can post whatever coding needed, just let me know

Thanks heaps
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Nov 26 2008, 09:16 AM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



What gallery? I just see a two-frame frameset, with no links or gallery.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
lemusa
post Nov 27 2008, 08:37 PM
Post #3





Group: Members
Posts: 7
Joined: 26-November 08
Member No.: 7,195



? what you mean, theres a gallery link on the menu...
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
lemusa
post Nov 27 2008, 08:58 PM
Post #4





Group: Members
Posts: 7
Joined: 26-November 08
Member No.: 7,195



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<script type="text/javascript" language="JavaScript1.2" src="um_menu.js"></script>
<title></title>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="style.css">
</head>

<body>

<center>


<link rel="stylesheet" href="cbcscbinsmenu.css" type="text/css" />

<ul id="ebul_cbinsmenu_1" class="ebul_cbinsmenu" style="display: none;">
<li><a href="images/gallery/old/various/index.html" title="" target="full">Various</a></li>
</ul>
<ul id="ebul_cbinsmenu_2" class="ebul_cbinsmenu" style="display: none;">
<li><a href="images/gallery/2006/elyse's_18th/index.html" title="" target="full">Elyse's 18th</a></li>
<li><a href="images/gallery/2006/bach/index.html" title="" target="full">Happy Boy's Bach</a></li>
<li><a href="images/gallery/2006/various/index.html" title="" target="full">Various</a></li>
</ul>
<ul id="ebul_cbinsmenu_3" class="ebul_cbinsmenu" style="display: none;">
<li><a href="images/gallery/2007/various/index.html" title="" target="full">Various</a></li>
</ul>
<ul id="ebul_cbinsmenu_4" class="ebul_cbinsmenu" style="display: none;">
<li><a href="images/gallery/2008/duey's_20th/index.html" title="" target="full">Duey's 20th</a></li>
<li><a href="images/gallery/2008/various/index.html" title="" target="full">Various</a></li>
</ul>
<table id="cbinsmenuebul_table" width="0" cellpadding="0" cellspacing="0" border="0">
<tr>
<td style="padding-right:1px" title=""><a><img id="cbi_cbinsmenu_1" src="ebbtcbinsmenu1_0.gif" name="ebbcbinsmenu_1" width="92" height="25" border="0" alt="Way Back" title="" /></a></td>
<td style="padding-right:1px" title=""><a><img id="cbi_cbinsmenu_2" src="ebbtcbinsmenu2_0.gif" name="ebbcbinsmenu_2" width="87" height="25" border="0" alt="---2006---" title="" /></a></td>
<td style="padding-right:1px" title=""><a><img id="cbi_cbinsmenu_3" src="ebbtcbinsmenu3_0.gif" name="ebbcbinsmenu_3" width="87" height="25" border="0" alt="---2007---" title="" /></a></td>
<td style="padding-right:1px" title=""><a><img id="cbi_cbinsmenu_4" src="ebbtcbinsmenu4_0.gif" name="ebbcbinsmenu_4" width="87" height="25" border="0" alt="---2008---" title="" /></a></td>
</tr>
</table>
<script type="text/javascript" src="cbjscbinsmenu.js"></script>




<iframe height="625" width="100%" scrolling="auto" name="full" src="images/gallery/start.html" frameborder="0" marginheight="0" marginwidth="0" align="center"></iframe>
</center>
<hr align="center">

<p align="center"><font size="2">Created by Lemusa © <em>Copyright 2008, All images property of ahoythere.co.nz and its owners</em></font></p><br>

</body>
</html>




this is the page that loads when the gallery is loaded in main menu
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Nov 27 2008, 10:34 PM
Post #5


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



Ah, there's no menu unless JavaScript is enabled. I'm moving this thread to the Client-side Scripting forum, since that's what it is about.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
lemusa
post Nov 28 2008, 02:06 AM
Post #6





Group: Members
Posts: 7
Joined: 26-November 08
Member No.: 7,195



oh ok, sorry im not really in the know on how it works, there must be a way to load them even without people havin to enable javascript on there browser?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Nov 28 2008, 07:52 AM
Post #7


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



With javascript enabled I could see the menu all the time in my browsers. Could you be more specific about how to recreate the problem (including which browser it occurs in)?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Nov 28 2008, 12:22 PM
Post #8


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



QUOTE
there must be a way to load them even without people havin to enable javascript on there browser?
Yes. Use normal links. Make sure it works with the normal links first, then dress it up with JavaScript if you want.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
lemusa
post Nov 28 2008, 06:35 PM
Post #9





Group: Members
Posts: 7
Joined: 26-November 08
Member No.: 7,195



under the gallery the menu displayin albums always stays there? odd

sorry im not sure how id dress it up, i used a menu generator cos it was easier
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Nov 28 2008, 08:05 PM
Post #10


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



QUOTE(lemusa @ Nov 29 2008, 12:35 AM) *

under the gallery the menu displayin albums always stays there?

Did you mean this one: http://www.ahoythere.co.nz/gallery.html ? In that case it's not a javascript problem, but happens because of the nested framesets. I advice against using frames, and especially against nesting framesets.

If you still want to use frames, search engines may index this:

CODE
<noframes>YOUR BROWSER SUCKS AND DOESN'T SUPPORT FRAMES...GET ONE THAT DOES!</noframes>


tongue.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
lemusa
post Nov 28 2008, 09:15 PM
Post #11





Group: Members
Posts: 7
Joined: 26-November 08
Member No.: 7,195



ok thanks for that, could you give me a rundown on how i would get the same appearance but usin a better method?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Nov 29 2008, 07:20 AM
Post #12


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



If your host offers PHP, ASP or SSI you can easily include common content already on the server.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
lemusa
post Nov 29 2008, 07:06 PM
Post #13





Group: Members
Posts: 7
Joined: 26-November 08
Member No.: 7,195



host does offer php, how would i set it up
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Nov 29 2008, 08:05 PM
Post #14


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



Paste the content of e.g. ordinary text files into your HTML documents by using the PHP include() directive, like this:

CODE
<?php include '/main_menu.txt'; ?>

and put the HTML snippet you want included in "main_menu.txt". The server will then seamlessly put it all together. You probably want the contents of http://www.ahoythere.co.nz/title.html on all web pages, and in addition to that http://www.ahoythere.co.nz/gallery.html in a second inclusion directive on the gallery pages. Just make sure you remove the HEAD section, <body> and <html> tags from the HTML snippet in the included file (otherwise you'd get multiple copies of these tags).

Not all servers are configured to run PHP on HTML documents with .html extensions, if so that can be changed easily.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th April 2024 - 06:53 AM