PDA

View Full Version : create web object on runtime...



GoOgLe
03-14-2008, 10:32 AM
is it possible to create a webobject on runtime if user clicks a popup link in webobject??? a kind of popup but it will popup in project as new webobject ...

GoOgLe
03-15-2008, 04:59 AM
is it possible with ams or i am wasting time ?

ShadowUK
03-15-2008, 05:18 AM
I don't actually know if that's possible.

Intrigued
03-15-2008, 10:29 AM
If I undestand you correctly...

One approach would be to "hide" a Webobject that say has a help file loaded.

Then on the main Web object you could put a Hotspot object (it's transparent) over the Web object and check for the Click. Then you could show the other Web object (hiding the first) or show the new one off to the side of the original one.

That's just one way that comes to mind.

Very quick, not-so-pretty example:

www.amsuser.com/ams/examples/WebObjectRuntime-AMS7-Intrigued.apz

ShadowUK
03-15-2008, 10:47 AM
If I undestand you correctly...

One approach would be to "hide" a Webobject that say has a help file loaded.

Then on the main Web object you could put a Hotspot object (it's transparent) over the Web object and check for the Click. Then you could show the other Web object (hiding the first) or show the new one off to the side of the original one.

That's just one way that comes to mind.

Very quick, not-so-pretty example:

www.amsuser.com/ams/examples/WebObjectRuntime-AMS7-Intrigued.apz

Line 3 is nil as it reads from your documents folder, also he means in a web browser, when the page wants to put up a popup, like on a new window that AMS makes another web object on top of the first, i think.

GoOgLe
03-15-2008, 11:13 AM
If I undestand you correctly...

One approach would be to "hide" a Webobject that say has a help file loaded.

Then on the main Web object you could put a Hotspot object (it's transparent) over the Web object and check for the Click. Then you could show the other Web object (hiding the first) or show the new one off to the side of the original one.

That's just one way that comes to mind.

Very quick, not-so-pretty example:

www.amsuser.com/ams/examples/WebObjectRuntime-AMS7-Intrigued.apz



thanks Intrigued but thats not wht i want though

i want it load the popup link in runtime create web object

rexzooly
03-15-2008, 11:44 AM
thanks Intrigued but thats not wht i want though

i want it load the popup link in runtime create web object

i think what hes trying to do it something i was trying to do also is to
make a tab system like IE and Fire fox that will open new tabs on right click on the click and open in tab of is program.

This would in turn give us to use a lot more tabs without making the project have 100's of browsers for the tabs.

any ideas


PS. IE 8 sucks
seems there trying 2 hard to bet firefox its very simple but MS will never
get s IE 7 used one of the best rendering engines out there but all over browsers seem to work better why cos MS sucks :)

Intrigued
03-15-2008, 08:17 PM
"Line 3 is nil as it reads from your documents folder"

Ya, that was due to the other example I helped with today, the text file info into a combobox. I stripped that out just minutes after I uploaded it and re-uploaded. Should be fine now.

On the other end on the popup... "ah, I see".

So, then let me ask, original poster, what ultimately is taking place, are you wanting to ultimately accomplish? The answer to that question should help give a solution that will fit best.

GoOgLe
03-16-2008, 06:32 AM
u know some websites has some links and they load the page in popup window... what i want to do is; load this page in my app not in internet explorer...