Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Need help with menu

Reply
Thread Tools

Need help with menu

 
 
Adrienne Boswell
Guest
Posts: n/a
 
      02-14-2008
I am so close... but, I'm really, really tired....

Here's the deal. I have a large vertical menu that I have scrunched
down using the method from Son of Suckerfish Vertical, and PHP.

Here's my PHP:

<ul>
<li><a href="parent.php">Parent Page</a></li>
<?php if(isset($thisparent))
{
if($thisparent=="parent.php")
{?>
<ul id="nofly">
<?php }
else
{
?>
<ul>
<?php }}?>
<li><a href="child.php">Child</a></li>
</ul>
</li>
</ul>

Child.php has $thisparent = "parent.php";

So, I would like the child to be visible when the ul id is NoFly, but
with the Son of Suckerfish, childen fly out, as they are supposed to
when there is no id of nofly on the child ul.

URL: http://ethicsproject.org/beta/

Good night, I am going to bed now. Thanks in advance for your help.


--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 
Reply With Quote
 
 
 
 
Neredbojias
Guest
Posts: n/a
 
      02-14-2008
Well bust mah britches and call me cheeky, on Thu, 14 Feb 2008 07:40:41
GMT Adrienne Boswell scribed:

> I am so close... but, I'm really, really tired....
>
> Here's the deal. I have a large vertical menu that I have scrunched
> down using the method from Son of Suckerfish Vertical, and PHP.
>
> Here's my PHP:
>
> <ul>
> <li><a href="parent.php">Parent Page</a></li>
> <?php if(isset($thisparent))
> {
> if($thisparent=="parent.php")
> {?>
> <ul id="nofly">
> <?php }
> else
> {
> ?>
> <ul>
> <?php }}?>
> <li><a href="child.php">Child</a></li>
> </ul>
> </li>
> </ul>
>
> Child.php has $thisparent = "parent.php";
>
> So, I would like the child to be visible when the ul id is NoFly, but
> with the Son of Suckerfish, childen fly out, as they are supposed to
> when there is no id of nofly on the child ul.
>
> URL: http://ethicsproject.org/beta/
>
> Good night, I am going to bed now. Thanks in advance for your help.


Validation produces an html transitional doctype...
Multiple same-name ids are a no-no.
I'm not familiar with the "Son of Suckerfish" method nor particularly
well-versed in the nuances of character and ethics. Ergo, I'd have to
say that the page sucks.

--
Neredbojias
Riches are their own reward.
 
Reply With Quote
 
 
 
 
Beauregard T. Shagnasty
Guest
Posts: n/a
 
      02-14-2008
Adrienne Boswell wrote:

> I am so close... but, I'm really, really tired....


Close only counts in horseshoes and hand grenades...

> Here's the deal. I have a large vertical menu that I have scrunched
> down using the method from Son of Suckerfish Vertical, and PHP.
> ...
> So, I would like the child to be visible when the ul id is NoFly, but
> with the Son of Suckerfish, childen fly out, as they are supposed to
> when there is no id of nofly on the child ul.
>
> URL: http://ethicsproject.org/beta/


Ooh.

1. In IE6 with my font size set to "Smaller" the content overlaps the
menu.
2. Your "If IE6" stuff has: containerfather, containermother
but the code has: container_father, container_mother
3. Multiple ids.
4. "Words of the Day" fly out and are below the viewport, and
unselectable.
5. Uses Verdana, and too small font:
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: small;
See: http://k75s.home.att.net/fontsize.html
and the order of fonts, put the most rare first.
6. For some reason, when I send your page to the Validator, it thinks it
is HTML 4.01 Transitional. <shrug>
<http://validator.w3.org/check?uri=http%3A%2F%2Fethicsproject.org%2Fbeta%2F index.php&charset=%28detect+automatically%29&docty pe=Inline&group=0&verbose=1>

And ... flyout menus are annoying, and difficult to use for the
handicapped.

> Good night, I am going to bed now. Thanks in advance for your help.


Sleep well.

--
-bts
-Friends don't let friends drive Vista
 
Reply With Quote
 
Adrienne Boswell
Guest
Posts: n/a
 
      02-15-2008
Gazing into my crystal ball I observed "Beauregard T. Shagnasty"
<> writing in
news:YEWsj.599599$:

> Adrienne Boswell wrote:
>
>> I am so close... but, I'm really, really tired....

>
> Close only counts in horseshoes and hand grenades...
>
>> Here's the deal. I have a large vertical menu that I have scrunched
>> down using the method from Son of Suckerfish Vertical, and PHP.
>> ...
>> So, I would like the child to be visible when the ul id is NoFly, but
>> with the Son of Suckerfish, childen fly out, as they are supposed to
>> when there is no id of nofly on the child ul.
>>
>> URL: http://ethicsproject.org/beta/

>
> Ooh.
>
> 1. In IE6 with my font size set to "Smaller" the content overlaps the
> menu.


Yikes! Will fix this.

> 2. Your "If IE6" stuff has: containerfather, containermother
> but the code has: container_father, container_mother


That fixes the above. Don't usually use If IE6 stuff.

> 3. Multiple ids.


Nope, that's an error in the script. There's only supposed to be _one_
nofly id, and that's the one that is not supposed to fly out.
Fixed. Really tired last night.

> 4. "Words of the Day" fly out and are below the viewport, and
> unselectable.


That's a big problem. Back to the drawing board.... back, ok, I found a
good solution, will post later.

> 5. Uses Verdana, and too small font:
> font-family: Verdana, Arial, Helvetica, sans-serif;
> font-size: small;
> See: http://k75s.home.att.net/fontsize.html


I think the boss may have done that. I'm going to take it out.

> and the order of fonts, put the most rare first.
> 6. For some reason, when I send your page to the Validator, it thinks
> it is HTML 4.01 Transitional. <shrug>

<http://validator.w3.org/check?uri=ht...ect.org%2Fbeta
>%2Findex.php&charset=%28detect+automatically%29&d octype=Inline&group=0&v
>erbose=1>


Yes, I don't know why that happens. The headers are getting changed
somewhere between the server and the validator. I'll have to have to talk
with the host.

>
> And ... flyout menus are annoying, and difficult to use for the

handicapped.

Yes, very annoying. As a matter of fact, when I showed this to the boss
this morning, it was rather amusing to see her trying to navigate it. She
kept on saying "it's so lovely", but then she couldn't use it. Scratched!
Will post new solution later.
>
>> Good night, I am going to bed now. Thanks in advance for your help.

>
> Sleep well.
>


I did, and I'll sleep even better tonight. Thank you!

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 
Reply With Quote
 
Adrienne Boswell
Guest
Posts: n/a
 
      02-15-2008
Gazing into my crystal ball I observed Neredbojias
<> writing in
news:Xns9A44DF4F56C5nanopandaneredbojias@85.214.90 .236:

> Well bust mah britches and call me cheeky, on Thu, 14 Feb 2008

07:40:41
> GMT Adrienne Boswell scribed:
>
>> I am so close... but, I'm really, really tired....
>>
>> Here's the deal. I have a large vertical menu that I have scrunched
>> down using the method from Son of Suckerfish Vertical, and PHP.
>>
>> Here's my PHP:
>>
>> <ul>
>> <li><a href="parent.php">Parent Page</a></li>
>> <?php if(isset($thisparent))
>> {
>> if($thisparent=="parent.php")
>> {?>
>> <ul id="nofly">
>> <?php }
>> else
>> {
>> ?>
>> <ul>
>> <?php }}?>
>> <li><a href="child.php">Child</a></li>
>> </ul>
>> </li>
>> </ul>
>>
>> Child.php has $thisparent = "parent.php";
>>
>> So, I would like the child to be visible when the ul id is NoFly, but
>> with the Son of Suckerfish, childen fly out, as they are supposed to
>> when there is no id of nofly on the child ul.
>>
>> URL: http://ethicsproject.org/beta/
>>
>> Good night, I am going to bed now. Thanks in advance for your help.

>
> Validation produces an html transitional doctype...
> Multiple same-name ids are a no-no.
> I'm not familiar with the "Son of Suckerfish" method nor particularly
> well-versed in the nuances of character and ethics. Ergo, I'd have to
> say that the page sucks.
>


Multiple ids were generated by my erroneous coding. I've fixed that
now. I've also scrapted the whole idea of flying out stuff, never liked
it in the first place. I've found a better solution, and will post
later.


--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 
Reply With Quote
 
Beauregard T. Shagnasty
Guest
Posts: n/a
 
      02-15-2008
Adrienne Boswell wrote:

> "Beauregard T. Shagnasty" writing:
>> And ... flyout menus are annoying, and difficult to use for the
>> handicapped.

>
> Yes, very annoying. As a matter of fact, when I showed this to the
> boss this morning, it was rather amusing to see her trying to
> navigate it. She kept on saying "it's so lovely", but then she
> couldn't use it. Scratched! Will post new solution later.


<lol!> Ooh, that's funny.

--
-bts
-Friends don't let friends drive Vista
 
Reply With Quote
 
Neredbojias
Guest
Posts: n/a
 
      02-15-2008
Well bust mah britches and call me cheeky, on Fri, 15 Feb 2008 02:44:41
GMT Adrienne Boswell scribed:

> Gazing into my crystal ball I observed Neredbojias
> <> writing in
> news:Xns9A44DF4F56C5nanopandaneredbojias@85.214.90 .236:
>
>> Well bust mah britches and call me cheeky, on Thu, 14 Feb 2008

> 07:40:41
>> GMT Adrienne Boswell scribed:
>>
>>> I am so close... but, I'm really, really tired....
>>>
>>> Here's the deal. I have a large vertical menu that I have scrunched
>>> down using the method from Son of Suckerfish Vertical, and PHP.
>>>
>>> Here's my PHP:
>>>
>>> <ul>
>>> <li><a href="parent.php">Parent Page</a></li>
>>> <?php if(isset($thisparent))
>>> {
>>> if($thisparent=="parent.php")
>>> {?>
>>> <ul id="nofly">
>>> <?php }
>>> else
>>> {
>>> ?>
>>> <ul>
>>> <?php }}?>
>>> <li><a href="child.php">Child</a></li>
>>> </ul>
>>> </li>
>>> </ul>
>>>
>>> Child.php has $thisparent = "parent.php";
>>>
>>> So, I would like the child to be visible when the ul id is NoFly, but
>>> with the Son of Suckerfish, childen fly out, as they are supposed to
>>> when there is no id of nofly on the child ul.
>>>
>>> URL: http://ethicsproject.org/beta/
>>>
>>> Good night, I am going to bed now. Thanks in advance for your help.

>>
>> Validation produces an html transitional doctype...
>> Multiple same-name ids are a no-no.
>> I'm not familiar with the "Son of Suckerfish" method nor particularly
>> well-versed in the nuances of character and ethics. Ergo, I'd have to
>> say that the page sucks.
>>

>
> Multiple ids were generated by my erroneous coding. I've fixed that
> now. I've also scrapted the whole idea of flying out stuff, never

liked
> it in the first place. I've found a better solution, and will post
> later.


Probably for the best considering the symptoms. I couldn't actually see
the specific problem causing trouble, but what you want(ed) to do seems
not too difficult one way or another.

--
Neredbojias
Riches are their own reward.
 
Reply With Quote
 
Adrienne Boswell
Guest
Posts: n/a
 
      02-15-2008
Gazing into my crystal ball I observed "Beauregard T. Shagnasty"
<> writing in news:Rm7tj.602938$kj1.84343
@bgtnsc04-news.ops.worldnet.att.net:

> Adrienne Boswell wrote:
>
>> "Beauregard T. Shagnasty" writing:
>>> And ... flyout menus are annoying, and difficult to use for the
>>> handicapped.

>>
>> Yes, very annoying. As a matter of fact, when I showed this to the
>> boss this morning, it was rather amusing to see her trying to
>> navigate it. She kept on saying "it's so lovely", but then she
>> couldn't use it. Scratched! Will post new solution later.

>
><lol!> Ooh, that's funny.
>


If you think that's funny, you should see her deal with external sites
that open in the same window. She insists that external sites should
open in new windows. If an external site opens in the _same_ window (as
it should), she clicks on the X and wonders why her browser closes. She
does not understand the back button, does not know/remember about
backspace, and would never think to right click to open in a new window.
And, she thinks that everyone is like her... hey, at least I've broken
her of trying to put br's in a elements!

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
only wanna show Sub Menu of root menu mike ASP .Net 2 11-30-2005 10:50 PM
Horizontal Menu and Sub menu in asp.net 2.0 itzikkl ASP .Net 0 03-27-2005 12:50 PM
Start Menu --> Programs Menu help Dennis Computer Support 0 11-02-2004 08:17 AM
Menu and sub-menu in asp.net as windows menus made with vb, delphi, etc..? Vilmar ASP .Net 0 05-27-2004 05:52 PM
Jump Menu (DropDown Menu) in ASP.net. Can someone help me out? Miguel Dias Moura ASP .Net 3 04-03-2004 08:17 AM



Advertisments