Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Jul 2008
    Posts
    3
    Member #
    17051
    Hi, I am playing around with my site taking out the old javascript menu as i need sub-menus and replacing with the JS/CSS based menu using PHP Includes...the problem i am having is that the transparent image should be over the the home.jpg like here: http://www.mytesting.co.uk/dave/ but I have this http://www.mytesting.co.uk/dave/index.php

    I am sure it is something small i have missed...?

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,693
    Member #
    5580
    Liked
    717 times
    FYI ... we're not ignoring this post.

    In my case, it's hard to troubleshoot this one without installing
    everything on my PC and working with it. A lot of files and images.

    I do recommend that you make a copy of everything and then go
    back and start stripping-out anything not related to your menu.

    I've looked at your source, and without commenting-out things and
    trying various things, I can't find the problem just by looking at it.

    Hang in with this forum though ... we are really good at helping people.


  4. #3
    Junior Member
    Join Date
    Jul 2008
    Posts
    3
    Member #
    17051
    I am confused by your comment? Do you want me to list the files with the menu in?
    The page with the current javascript menu is http://www.mytesting.co.uk/dave/
    Which i am not interested in keeping. The only reason I mentioned it, was becasue the top image is overlapping the horizontal banner image across the top.
    This is what I want to achieve with http://www.mytesting.co.uk/dave/index.php but I cannot seem to get that image to sit higher than it is at the moment.
    The files for this page are index.php and menu.php and possibly my problem is in the menu.js file. Do not worry that the menu is not complete as i have only just started and wanted to get the image issue sorted first.
    All I want to be able to do is have image menu-top.gif sit over the top of image home.jpg with the my new menu sitting below, menu-top.gif.
    can anyone help now? Apologises I didn't realise I was less than obvious what I am looking for...

  5. #4
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,693
    Member #
    5580
    Liked
    717 times
    This could get ugly ... mostly because of <tables> ...

    But try something like this:

    <TABLE cellpadding="0" cellspacing="0" border="0" width="154"><tr><td class="menutrans">
    <img style="position: relative; top:-40px; z-index:2" src=" menu-top.gif" width="154" height="70"><br />
    <ul id="verticalmenu" class="glossymenu">

    Positioning things, absolute or relative can often cause differences
    between browsers. Avoid if possible, but maybe that's a way around
    your problem here.


  6. #5
    Junior Member
    Join Date
    Jul 2008
    Posts
    3
    Member #
    17051
    YEp you are right it does get messy, although almost there...You know what I am going to do is keep with the current menu, and insert to text links on the news page, one for new news and one for achieve news. No point try to be to clever...lol Once again many thanks.

  7. #6
    Member
    Join Date
    Jul 2008
    Posts
    32
    Member #
    17036
    your opacity on that image doesn't work in firefox. (at least for me)

    try replacing
    .menutrans { filter:alpha(opacity=50) }
    with

    Code:
    .menutrans { filter: alpha(opacity=50); filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50); -moz-opacity: 0.5; opacity:0.5; }
    in corporatestyle.css


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 03:22 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com