Advanced Search

Results 1 to 7 of 7

Thread: Can you use javascript w/in an xml page?

  1. #1
    Join Date
    Jul 2005
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Can you use javascript w/in an xml page?

    I have a site that's totally Flash and would like to call a javascript/flash slide show from the menu.xml page, is this possible? The index page previews all the swf movies....do I have to put a link outside the flash on the page, thanks, Cyn

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,486
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Quote Originally Posted by Cyn View Post
    I have a site that's totally Flash...
    Well, that is problem #1 right there. *sigh*

    Anyway, to answer your question it is possible. Difficult and depending a lot on your set up, functions, calls, and layout. Stuff we either need entire code posted for, or a link to the site so we can see everything in action for ourselves (preferred).

    As for the second part of your post, I am not sure what you are after.


    (btw, expect a few "having an all Flash site is bad, what if javascript is turned of... blah blah" posts. NOT that they aren't warranted, especially here... just FYI)
    {CWoT - Riddle } {OSTU - Psycho} {Invasion - Team}
    Follow Me on Twitter: @Negative_Chaos
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    Jul 2005
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yeah, I know, but I inherited it w/ the client... it's http://dessertdivaonline.com anything else you might need I'll send direct. Cyn

  4. #4
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,486
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Okay, I still don't quite understand exactly what you mean here:

    The index page previews all the swf movies....do I have to put a link outside the flash on the page
    {CWoT - Riddle } {OSTU - Psycho} {Invasion - Team}
    Follow Me on Twitter: @Negative_Chaos
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  5. #5
    Join Date
    Jul 2005
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm sorry, I'm going about this the wrong way....I want to play this slide show prefferably from the menu "products" and the menu is controled by the menu.xml page.

    So I'm probably going down the wrong path....the "products" link will be changed to possibly "gallery" here's the link to the slide show. http://dessertdivaonline.com/album/

    So what's the best way to be able to play this slide show from the index page? I want to only use a link and not show a thumb or all these thumbs on the album page.

  6. #6
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,486
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Okay... we are getting closer!

    Here is what I understand so far:

    You have the site and it has a preview slideshow currently on the main page. You have a product image gallery on the product tab. You are changing the products tab to say "gallery" and you want to show the image gallery that is currently there on the main page instead of the slide show that is currently there.

    Close?

    So.. do you want the product gallery to display instead of what is on the main page already, or simply replace what is there when that tab is clicked?
    {CWoT - Riddle } {OSTU - Psycho} {Invasion - Team}
    Follow Me on Twitter: @Negative_Chaos
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  7. #7
    Join Date
    Jul 2005
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The flash design was alread in place, I want to add the slide show. The menu is controled by Flash/xml. If it's possible to execute the LightBox2 slide show w/in the xml, it would probablyi be simpler, if not, I'll have to generate the image and embed the scripts on the index page...I'm sure there will be some conflicts....Or hack the swf preview file and call it w/in there. What ever you think best.

    Thanks for your patience, Cyn

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
  •