Welcome to TalkGraphics.com
Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1
    Join Date
    Jan 2009
    Posts
    13

    Default Intergrating Menu into web page

    I apologize, in advance, for my ineptness, however I am really new at this.

    I have design a navbar to my liking and have saved the graphics to my website;s 'menu' directory, but I am now stuck. I have no idea how to incorporate the javascript into the web page and can not find any javascript insertion instructions in the Xara Support Site.

    Will someone please take pitty on me and help...

    Thanks...

  2. #2
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Intergrating Menu into web page

    Hello Klozter,

    Welcome to Talkgraphics.

    Could you post the URL for your website? It will be easier to see the way to explain how to edit your page or pages to include the navbar.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  3. #3
    Join Date
    Jan 2009
    Posts
    13

    Default Re: Intergrating Menu into web page

    Sure thing. This is a website I am putting together for a good friend of mine.

    http://www.corporatemagic-fx.com/inprogress/main.html

  4. #4
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Intergrating Menu into web page

    I've looked a the code for your sites web page and the script tags are not what I would expect. See attached images.

    If you put the image files and the javascript file for the navbar in a subfolder named menu you will need to include that in the path for the javascript file you created with Webstyle.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Klotzer_menu1.gif 
Views:	159 
Size:	45.6 KB 
ID:	55586   Click image for larger version. 

Name:	Klotzer_menu2.gif 
Views:	164 
Size:	23.1 KB 
ID:	55587  

    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  5. #5

    Default Re: Intergrating Menu into web page

    What the?

    I don't use menumaker, but does MM generate the code that includes the link to: http://www.xara.com/lib/mainmenu.js

    This would be a serious flaw.
    Whenever xara.com goes down, potentially thousands of websites across the globe would have their MM created menus rendered inoperable

    Surely this can't be right?

  6. #6
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Intergrating Menu into web page

    You are very correct Steve. Neither MenuMaker nor Webstyle create a link to Xara.

    None of the code highlighted in the first attachment is created by Webstyle or MenuMaker. I do not know where that came from or why it would be in Klotzer's web page.
    Last edited by Soquili; 23 January 2009 at 12:48 AM.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  7. #7
    Join Date
    Jan 2009
    Posts
    13

    Default Re: Intergrating Menu into web page

    I use webstyle, not MM. The reason the code from xara is there was because I was looking at the Xara page source in order to try and determine how to layout the code for the javascript. It really has nothing to do with being generated by Xara.

    In fact I could not find anything generated by Webstyle to tell me what to insert into my web page to make the menu work. This is the purpose of my query. As I said in my first post, I do not know how or what to post for the javascript to let the web page know where the menu is.

    As it is, my site does not have anything to look at. This what I am trying to find out. My graphics are in a directory called 'menu' as are 2 javascripts created by webstyle at the time of saving the grapics. The scripts are cmfx.js & xaramenu.js. What I am trying to find out is how to tell my site/web page where my menu is at. The menu you see on the site at this time is simply a graphic placeholder for the menu I have made.
    Last edited by Klozter; 23 January 2009 at 01:39 AM.

  8. #8
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Intergrating Menu into web page

    The single line of code shown in the second attachment in my previous post is all you need.

    Although you will have use the path and filename of the javascript file created by webstyle.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  9. #9
    Join Date
    Jan 2009
    Posts
    13

    Default Re: Intergrating Menu into web page

    OK, here is what I put, but nothing is showing. What am I missing?

    <script webstyle4.src=/menu/cmfx.js></script>

    Is there anything about javascript that needs to be inserted above

    the body area in the <head> area?
    Last edited by Klozter; 23 January 2009 at 02:35 AM.

  10. #10
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Intergrating Menu into web page

    What did you name your navbar project when you saved from Webstyle?

    Your javascript file that works the menu will have that name.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

 

 

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
  •