close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Problem in IE and OPERA with drop down dynamic menu

Thread began 10/28/2010 1:40 am by superpac250441 | Last modified 10/28/2010 1:22 pm by superpac250441 | 1583 views | 9 replies |

superpac250441

Problem in IE and OPERA with drop down dynamic menu

Hi there,

I wonder if someone can tell me what the problem is.

I have built a dynamic menu but the second drop down shows huge gaps between the menu items in the drop down itself. I tried deleting the menu item but the second menu item exhibits the same problem. The funny thing is that it works perfectly in Firefox but is not working correctly in IE or Opera

The two examples can be viewed at:

index.php
and
index1.php

Any assistance to fix this problem would be greatly appreciated

Sign in to reply to this post

MikeH

Hi
just to add to your problem :) it works perfectly in IE9 beta

I am guessing there is something set in the 2nd dropdown slightly different? is it a repeat image setting? Try setting it not to repeat.

Mike

Sign in to reply to this post

neilo

Check the code on your menu.php file. It looks (from the source code) that you may have some extraneous 'mysql free result' lines at the bottom of your page:

Your source code shows repeatedly:

<b>Warning</b>:  mysql_free_result(): supplied argument is not a valid MySQL result resource in <b>/home/agricon/public_html/b/CSSMenuWriter/cssmw/menu.php</b> on line <b>104</b><br /><br />
<b>Warning</b>: mysql_free_result(): supplied argument is not a valid MySQL result resource in <b>/home/agricon/public_html/b/CSSMenuWriter/cssmw/menu.php</b> on line <b>107</b><br /><br />
<b>Warning</b>: mysql_free_result(): supplied argument is not a valid MySQL result resource in <b>/home/agricon/public_html/b/CSSMenuWriter/cssmw/menu.php</b> on line <b>110</b><br /><br />
<b>Warning</b>: mysql_free_result(): supplied argument is not a valid MySQL result resource in <b>/home/agricon/public_html/b/CSSMenuWriter/cssmw/menu.php</b> on line <b>113</b><br /><br />
<b>Warning</b>: mysql_free_result(): supplied argument is not a valid MySQL result resource in <b>/home/agricon/public_html/b/CSSMenuWriter/cssmw/menu.php</b> on line <b>116</b><br /><br />
<b>Warning</b>: mysql_free_result(): supplied argument is not a valid MySQL result resource in <b>/home/agricon/public_html/b/CSSMenuWriter/cssmw/menu.php</b> on line <b>119</b><br />

Try removing the duplicated 'mysql_free_result()' chunks of code and see if that solves the problem.

Sign in to reply to this post

superpac250441

Originally Said By: neilo
  Check the code on your menu.php file. It looks (from the source code) that you may have some extraneous 'mysql free result' lines at the bottom of your page:

Your source code shows repeatedly:

<b>Warning</b>:  mysql_free_result(): supplied argument is not a valid MySQL result resource in <b>/home/agricon/public_html/b/CSSMenuWriter/cssmw/menu.php</b> on line <b>104</b><br /><br />
<b>Warning</b>: mysql_free_result(): supplied argument is not a valid MySQL result resource in <b>/home/agricon/public_html/b/CSSMenuWriter/cssmw/menu.php</b> on line <b>107</b><br /><br />
<b>Warning</b>: mysql_free_result(): supplied argument is not a valid MySQL result resource in <b>/home/agricon/public_html/b/CSSMenuWriter/cssmw/menu.php</b> on line <b>110</b><br /><br />
<b>Warning</b>: mysql_free_result(): supplied argument is not a valid MySQL result resource in <b>/home/agricon/public_html/b/CSSMenuWriter/cssmw/menu.php</b> on line <b>113</b><br /><br />
<b>Warning</b>: mysql_free_result(): supplied argument is not a valid MySQL result resource in <b>/home/agricon/public_html/b/CSSMenuWriter/cssmw/menu.php</b> on line <b>116</b><br /><br />
<b>Warning</b>: mysql_free_result(): supplied argument is not a valid MySQL result resource in <b>/home/agricon/public_html/b/CSSMenuWriter/cssmw/menu.php</b> on line <b>119</b><br />
Try removing the duplicated 'mysql_free_result()' chunks of code and see if that solves the problem.  



There is no repeats of the mysql_free_result() that I can see.

This is what is on page:

<?php
mysql_free_result($rsProdCat);

mysql_free_result($rsProd);

mysql_free_result($rsSupportcat);

mysql_free_result($rsSupportprod);

mysql_free_result($rsNewscat);

mysql_free_result($rsNewsprod);

mysql_free_result($rsLinkscat);

mysql_free_result($rsLinksprod);

mysql_free_result($rsContactcat);

mysql_free_result($rsContactprod);

?>

The menu without the products just omits the top two above

Sign in to reply to this post

superpac250441

Originally Said By: MikeH
  Hi
just to add to your problem :) it works perfectly in IE9 beta

I am guessing there is something set in the 2nd dropdown slightly different? is it a repeat image setting? Try setting it not to repeat.

Mike  



Both menus were made independently. The image is a background on the top level only with no repeat.
The second level drop down is set exactly the same for every dropdown

Sign in to reply to this post

superpac250441

Originally Said By: MikeH
  Hi
just to add to your problem :) it works perfectly in IE9 beta

I am guessing there is something set in the 2nd dropdown slightly different? is it a repeat image setting? Try setting it not to repeat.

Mike  



Strange indeed but thanks for the input Mike. I don't have IE9 Beta yet

Sign in to reply to this post

Jason ByrnesWebAssist

can you send a copy of your page and the CSSMenuWriter/cssmw/menu.php file in a zip archive so we can examine the code.


neilo is on the right track, it is being caused by MySQL Link resource errors, but we will need to see the code to track down the source of them.

Sign in to reply to this post

superpac250441

Here is the menu.php zipped

Attached Files
menu.zip
Sign in to reply to this post

Jason ByrnesWebAssist

delete the code from line 104- 120:

php:
<?php

mysql_free_result
($menuwriter_newscat);
?>
        <?php
mysql_free_result
($menuwriter_newsprod);
?>
        <?php
mysql_free_result
($menuwriter_linkscat);
?>
        <?php
mysql_free_result
($menuwriter_linksprod);
?>
        <?php
mysql_free_result
($menuwriter_contactcat);
?>
        <?php
mysql_free_result
($menuwriter_contactprod);
?>
Sign in to reply to this post

superpac250441

Neilo was on the right track. I deleted all the free mysqls and the menu seems to be working just fine. MANY Thanks for your help! I have no idea how they got there in the first place but at least it is now working.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...