Announcement

Collapse
No announcement yet.

Included Templates!!

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

  • Included Templates!!

    I LOOOOOOVE the look of the Webbrowser... it's sooooo sexy [img]/ubbthreads/images/icons/laugh.gif[/img]

    Anyway, just thought I'd say, great job!.
    I still can't figure out how yah got the address bar to work, lol [img]/ubbthreads/images/icons/wink.gif[/img]

  • #2
    Re: Included Templates!!

    Very simple.

    Drag and drop an edit field onto a page and then name it "URL" in it's attributes dialog. (Or any name you like)

    So then you simply attach an action to the GO button which does a few things:

    1. It uses an Edit Field Object Get Text function to store "URL"s text string in a variable name, i.e. if you typed in "www.google.com" that info would now be stored in a variable, let's call this variable "%myURL%" for example.

    SO, so far we have added the edit field object and assigned a btton to retrieve it's contents "on Mouse Click"

    so then:

    2. In our case we use a string insert function to add "http://" to the front of our string so that your variable %myURL% is concatenated from "www.google.com" to "http://www.google.com". We did this simply by using a STRING > INSERT action and set it so that the source and result strings are both %myURL%, the string position to insert is zero, and the string to insert is "http://"

    Now the final action:

    3. Ok so we have our addy stored in the variable %myURL% now we just need to navigate to it so we attach a Web Browser Object "Navigate To" action to it and simply use %myURL% as the address to navigate to.

    So with those 3 simple actions attached to you rbutton it works.

    Now that being said, an easy way to get in there and check this stuff out is simply to dissect the templates we send you and see what's going on. We are intentionally making the shipped templates fairly straightforward so that you guys can just pop them open and see what's going on internally.

    Comment

    Working...
    X