Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Location
    France
    Posts
    9

    Default Navbar issue (urgent)

    Hello all,

    I recently built a navigation bar that works perfectly throughout my site if viewed with Firefox. In IE 7 it works as long as you click on the Activation link. But in IE 6 it works normally except on 2 pages which astounds me because it's exactly the same swf as on all the other pages!

    I get the feeling that there may be a conflict in either the html code generated by SWiSHmax or the javascript on these 2 pages.

    www.powerball-club.com/exercises
    www.powerball-club.com/petanque

    I have an article coming out in a national sports magazine on february 8th so I am desperate to solve this issue. I tried in the swishzone forum but the only reply I got was to try Flash Release which corrupted the text on the page and made all the swf's totally invisible.

    Any assistance would be greatly appreciated!
    IP

  2. #2
    Join Date
    Nov 2006
    Posts
    1,602

    Default Re: Navbar issue (urgent)

    Read this,as of april this issue will be undone by Microsoft

    Hans


    http://forums.swishzone.com/index.php?showtopic=35036
    IP

  3. #3
    Join Date
    Feb 2008
    Location
    France
    Posts
    9

    Default Re: Navbar issue (urgent)

    Quote Originally Posted by haakoo View Post
    Read this,as of april this issue will be undone by Microsoft

    Hans


    http://forums.swishzone.com/index.php?showtopic=35036
    Thanks Hans but that has nothing to do with this problem. I repeat, the navbar works fine in all my pages except for those two and it's exactly the same swf. Therefore the problem must lie in the HTML code or javascript on those pages although both are entirely different. I'm convinced there is some kind of conflict, otherwise the navbar would not work on any of the pages.
    IP

  4. #4
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,918

    Default Re: Navbar issue (urgent)

    Hi Powerball and Welcome,

    I can't say that I understand your promblem from your first post. Could you explain what the problem is in more detail?
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
    IP

  5. #5
    Join Date
    Sep 2004
    Location
    Denver, CO
    Posts
    533

    Default Re: Navbar issue (urgent)

    Hi Powerball.

    If you were using Flash I would say try exporting your swf lower version of actionscript or Flash player version. I've had links behave like you describe only to have them corrected by bumping back a version or so.

    Best of luck!

    Red

    Big Plan Creative - Napoleon had one . . . Einstein had one . . . Do you have one?
    IP

  6. #6
    Join Date
    Feb 2008
    Location
    France
    Posts
    9

    Default Re: Navbar issue (urgent)

    Quote Originally Posted by RedWombat View Post
    Hi Powerball.

    If you were using Flash I would say try exporting your swf lower version of actionscript or Flash player version. I've had links behave like you describe only to have them corrected by bumping back a version or so.

    Best of luck!
    Hi RedWombat, I made this navbar using SWiSHmax, not Flash. I posted in this forum as it is the only one here dealing with Flash.
    IP

  7. #7
    Join Date
    Feb 2008
    Location
    France
    Posts
    9

    Default Re: Navbar issue (urgent)

    Quote Originally Posted by Egg Bramhill View Post
    Hi Powerball and Welcome,

    I can't say that I understand your promblem from your first post. Could you explain what the problem is in more detail?
    The Navigation bar, found under the header, has navigation buttons on it. While they all change to red when hovered over, they do absolutely nothing when clicked on however, this applies only to the 2 pages mentioned in my original post. Furthermore, it seems to apply only to IE 6.0 because they do work in Firefox, and I am told they also work in IE 7.0.

    The swf used on those pages is the same on all other pages of the site, which can be accessed using the text links at the base of the page. Therefore logic dictates that the navbar should definitely work on the two affected pages also. As this is not the case, I believe there may be a conflict in the html or javascript used on those pages.

    For example, www.powerball-club.com/petanque has a 3rd swf on it in the form of a magazine display. Perhaps the html code for that has an instruction that conflicts with the code used by the navbar? I don't understand code so I'm unable to see it if there is such a conflict. On the other hand, there is also a web form using javascript commands. I doubt that has anything to do with the problem but I pose the question because like all the other pages on the site, www.powerball-club.com/exercises has no other swf's other than the header however, it does have some javascripted buttons.

    That's it in a nutshell. I can see no reason why the navbar is not working on these 2 pages and would be most appreciative if someone could identify the cause please.
    Last edited by Powerball-Club; 02 February 2008 at 08:34 AM.
    IP

  8. #8
    Join Date
    Sep 2004
    Location
    Denver, CO
    Posts
    533

    Default Re: Navbar issue (urgent)

    Powerball.

    I don't use SwishMax, so I can help with the application.

    I noticed when decompiling your navigation swf that you are using Absolute URL's in your buttons. Try using a Relative URL instead. That might help.

    Examples:

    Absolute URL: http://www.yourdomain.com/index.htm
    Relative URL: index.htm or if the file is in a subfolder on your site: subfolder/index.htm

    I've taken your SWF and exported in the Flash 6 player Actionscript ver 1.0 and everything works. Here's a sample I put up if you want to see: http://www.bigplan.net/client/powerball/flashtest.htm

    The only other thing I can think is it has to do with your hosting company. Perhaps they don't like URL's without an alias. Just a thought.

    Hope this helps.

    Hope this helps.
    Last edited by RedWombat; 03 February 2008 at 12:57 PM.

    Red

    Big Plan Creative - Napoleon had one . . . Einstein had one . . . Do you have one?
    IP

  9. #9
    Join Date
    Feb 2008
    Location
    France
    Posts
    9

    Default Re: Navbar issue (urgent)

    Quote Originally Posted by RedWombat View Post

    Examples:

    Absolute URL: http://www.yourdomain.com/index.htm
    Relative URL: index.htm or if the file is in a subfolder on your site: subfolder/index.htm
    Here we have a problem RedWombat, and maybe it's behind this issue. All the pages that work on my site are in the main public_html directory. The 2 pages causing trouble however, are index pages situated in separate directories. I don't see how I can use a relative URL pointing to the root folder if I'm already in a subfolder.

    For example, let's say I'm in http://www.powerball-club.com/petanque/index.html, how would I point back to the root folder? Surely, if I inserted the target as index.html I would merely refresh the index page of the petanque subfolder.

    Of course, one way to overcome this could be to put the 2 pages in the root folder. For example, http://www.powerball-club.com/petanque.html but I must admit I would like to conquer this issue so that I can use subfolders on the site. Oh, and before I drop this subject, I noticed that the navbar works perfectly in each exercise page found within the exercises subfolder. For example, http://www.powerball-club.com/exercises/7.html. That only goes to prove that it is possible to run the navbar in a subfolder but it also makes the issue even more confusing. Why will it not work in index.html pages?

    I've taken your SWF and exported in the Flash 6 player Actionscript ver 1.0 and everything works. Here's a sample I put up if you want to see: http://www.bigplan.net/client/powerball/flashtest.htm
    So are you suggesting that I should try re-exporting the swf in Flash Player 6 format?

    The only other thing I can think is it has to do with your hosting company. Perhaps they don't like URL's without an alias. Just a thought.
    What is an URL without an alias please?
    IP

  10. #10
    Join Date
    Sep 2004
    Location
    Denver, CO
    Posts
    533

    Default Re: Navbar issue (urgent)

    You make some valid points Powerball.

    On the relative URL from a sub folder. You can direct the URL up a level by placing ../ before the file name. For example: ../index.htm or you can tell the URL to begin at the root of the site by using /index.htm. It kind of depends on levels of sub folders etc that you have. If you wanted to point to a file in a cross folder. Say your in examples and you want to point to the index file in petanque. It could look like this: /petanque/index.htm.

    I know that you've had success on some of your sub pages, but I've not been able to see it work on any page in your examples, with the exception of the link to your blog.

    If it's the Flash Player version 4 that you're compiling to, I wouldn't go that far. Stop at version 6 if that. Actionscript was significantly different back in version 4.

    You could try the Flash Player version 6, but I found somthing else you might want to look at. In your html code you have this item in your Embed and Object tags
    Code:
    <param name="allowscriptaccess" value="samedomain">
    "samedomain" is suppose to permit scripting operations only if the Flash application is from the same domain as the HTML page. Perhaps the difference between having the www and not having it is making Flash believe it is a different domain. Your options for this attribute are Always, Never and Samedomain. I know we're running you all over the place with what we think is the issue, but try changing this to Always to see what you get.

    As far as the alias question, I refer to the www part of the URL as an alias. It can be changed to whatever you want. With your webserver you can create an entire different site off the same domain using a different alias if you want.

    I hope we're being helpful here.
    Last edited by RedWombat; 03 February 2008 at 02:04 PM.

    Red

    Big Plan Creative - Napoleon had one . . . Einstein had one . . . Do you have one?
    IP

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •