Announcement

Collapse
No announcement yet.

flash menu or dhtml or javascript to call internal browser?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • flash menu or dhtml or javascript to call internal browser?

    As I'm new to embedding web objects I am trying to find out if it is possible to have flash menu/dhtml/javascript menu populate another browser object on the screen?

    Simply put -
    Browser window One contains the menu
    Browser window Two contains the viewing choice

    Thanks!

  • #2
    Re: flash menu or dhtml or javascript to call internal browser?

    Yes you can do that, no probs... For example with FLash. You would have your flash navigation elements in browser 1 fire fscommands onClick and then using a couple IF statements in that Flash object's "OnFSCommand" event to detect *which* FScommand was fired (which button) you can trigger whatever event you want in browser 2.

    So for example if button 1 is a "home" button you can add an fscommand to it such as fscommand ("home"), etc.

    Corey Milner
    Creative Director, Indigo Rose Software

    Comment


    • #3
      Re: flash menu or dhtml or javascript to call internal browser?

      This is very good news! Thanks Corey for the info. Is there a place I can read how to do this, or a sample app? Without this I am fishing blind........

      thanks

      Comment


      • #4
        Re: flash menu or dhtml or javascript to call internal browser?

        Well I can help you do it, that's not a problem. Tell you what, give me a day and I'll whip up a very basic sample and post the source file for you.

        Corey Milner
        Creative Director, Indigo Rose Software

        Comment


        • #5
          Re: flash menu or dhtml or javascript to call internal browser?

          Thanks for your help Corey. I have Flash MX but am new to it.

          Comment


          • #6
            Re: flash menu or dhtml or javascript to call internal browser?

            No probs, flash isn't strictly neccesary nor is the one web object but here, I've done two examples for you http://www.indigorose.com/temp_web/webnav_examples.zip

            In one I use text links in one web browser object to control a seperate web object. In this one there are 3 actions and you can find them on the "OnNavigateComplete" event of the top web browser object. Very simple to understand.

            In the other I used flash buttons to create a nav bar for the web object. In this case there's no need for a second web object. I have included the flash source file for you too. In this case there are also only a couple actions and they can be found in the flash object's "onFSCommand" event.

            Give it a shot and let me know if you still need help. I'm sure we can come up with some kind of working solution to whatever it is you need to do...

            Corey Milner
            Creative Director, Indigo Rose Software

            Comment


            • #7
              Re: flash menu or dhtml or javascript to call internal browser?

              Thanks for the demos here Corey. I need to bone up on the scripting aspect I guess.

              As it relates to a web object I have have an additional question:

              is it possible to have a hotspot object "pop up" a new web object? Can I have the web object I want to pop up be hiding and then upon hitting the hotspot object have it show or navigate to it?

              Thanks again

              Comment


              • #8
                Re: flash menu or dhtml or javascript to call internal browser?

                Not sure, that's something I've never looked at.

                Corey Milner
                Creative Director, Indigo Rose Software

                Comment


                • #9
                  Re: flash menu or dhtml or javascript to call internal browser?

                  Hey Corey,

                  Having a few problems here.

                  I have 2 web objects on the page. Each load actual pages from the web. One is a banner type box. When I click in the banner box I need the full size web object to populate with that link page. How does one go about doing this? Right now I'm just using the text approach (gif image actually).

                  Thanks

                  Comment


                  • #10
                    Re: flash menu or dhtml or javascript to call internal browser?

                    Take a look at the example I posted above, exact same principle, just use an image link instead of text links.

                    Corey Milner
                    Creative Director, Indigo Rose Software

                    Comment


                    • #11
                      Re: flash menu or dhtml or javascript to call internal browser?

                      my problem is I don't know how to call the browser based on the scripting of # and 1. sorry for so many questions but I'm scripting impaired...........

                      Comment


                      • #12
                        Re: flash menu or dhtml or javascript to call internal browser?

                        just so I'm clear on what I'm asking

                        my main web object (web1) connects to www.yahoo.com
                        my banner web object connects to www.something.com
                        I want to click in the banner object and load the page into the www.yahoo.com object.

                        Comment


                        • #13
                          Re: flash menu or dhtml or javascript to call internal browser?

                          Not sure what to say. That example is super easy to follow, I think it contains 2 or maybe 3 actions maximum, that's all. Not a whole lot I can do other than suggest for you to check it out again.

                          Maybe if you specify exactly what you have done with the example so far and exactly where and how you got lost I can help steer you back on track. The goal here is not to build your project for you but rather to provide you with proper code examples (above) and information so that you can complete the process yourself.


                          but I'm scripting impaired
                          The thing is that in your subject line you ask if you can use Flash, DHTML, or Javascript. Yes you can, but these all obviously involve scripting to some extent.

                          Corey Milner
                          Creative Director, Indigo Rose Software

                          Comment


                          • #14
                            Re: flash menu or dhtml or javascript to call internal browser?

                            Corey,

                            Here is what I have
                            webobject2 (banner object)
                            initial url to load http://www.xxxxx.com/xxxxx/xxxxx.htm
                            <IR_ACTIONS_LIST>
                            <Action name="Get Property">
                            <Type>99</Type>
                            <Function>0</Function>
                            <DTIndentLevel>0</DTIndentLevel>
                            <Enabled>1</Enabled>
                            <ErrorHandling>
                            <UserNotificationMode>2</UserNotificationMode>
                            <CustomErrorMessage/>
                            <OnErrorAction>0</OnErrorAction>
                            <JumpToLabel/>
                            </ErrorHandling>
                            <Variable>%Property%</Variable>
                            <ObjectName>WebBrowser2</ObjectName>
                            <Property>URL</Property>
                            </Action>
                            <Action name="Get Delimited String">
                            <Type>64</Type>
                            <Function>0</Function>
                            <DTIndentLevel>0</DTIndentLevel>
                            <Enabled>1</Enabled>
                            <ErrorHandling>
                            <UserNotificationMode>2</UserNotificationMode>
                            <CustomErrorMessage/>
                            <OnErrorAction>0</OnErrorAction>
                            <JumpToLabel/>
                            </ErrorHandling>
                            <Variable>%Property%</Variable>
                            <Source>%Property%</Source>
                            <Delimiter>#</Delimiter>
                            <ItemIndex>1</ItemIndex>
                            </Action>
                            <Action name="Navigate To">
                            <Type>42</Type>
                            <Function>0</Function>
                            <DTIndentLevel>0</DTIndentLevel>
                            <Enabled>1</Enabled>
                            <ErrorHandling>
                            <UserNotificationMode>2</UserNotificationMode>
                            <CustomErrorMessage/>
                            <OnErrorAction>0</OnErrorAction>
                            <JumpToLabel/>
                            </ErrorHandling>
                            <WebObjectName>WebBrowser1</WebObjectName>
                            <URL>%SrcDir%\%Property%.html</URL>
                            </Action>
                            </IR_ACTIONS_LIST>


                            web object 1
                            initial url to load (main object)


                            what string to I add to the initial url in webobject 2 since I am not calling a local file?

                            Just looking for help and since I don't see this documented anyplace I came to the forum. While you supplied an example to make a call locally I am looking to do it externally.

                            Thanks

                            Comment


                            • #15
                              Re: flash menu or dhtml or javascript to call internal browser?

                              if you would like me to pay you for your assistance I can do that too. please let me know.

                              Comment

                              Working...
                              X