htmlpage element


htmlpage element

Author
Message
ahales
ahales
Expert
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)

Group: Forum Members
Posts: 8, Visits: 12

Hello,


This may be a somewhat basic question, but I need to know how to present a website on the internet as stimulus material. I am having trouble with the htmlpage element. Regardless of the website that I enter as the path a blank screen is displayed rather than the content.  For example, the script below does not seem to work.  Am I missing something obvious?


Internet explorer is working properly on the computer, so that should not be the problem.


Any help we be much appreciated.



<htmlpage intro>


/file="http://google.com"


</htmlpage>


Dave
Dave
Supreme Being
Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)

Group: Administrators
Posts: 9.8K, Visits: 46K

<htmlpage intro>
/file="http://google.com"
</htmlpage>

<block myblock>
/ postinstructions = (intro)
</block>


works perfectly fine as far as I can tell.


ahales
ahales
Expert
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)

Group: Forum Members
Posts: 8, Visits: 12

Many thanks Dave.  That actually does work for me now with google and most other links.  However, when I try substituting the link to the page I need I see the error message "object doesn't support property or method 'getContext".  I am not certain what this is referring to.  Perhaps there is something about the link that it does not like.  Have you seen this before?


Best.



Dave
Dave
Supreme Being
Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)

Group: Administrators
Posts: 9.8K, Visits: 46K

Presumably there's something about your HTML (you'll want to inspect its source code) / probably has nothing to do with Inquisit per se.


Does the page render in IE on that machine, i.e., not using Inquisit?


ahales
ahales
Expert
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)

Group: Forum Members
Posts: 8, Visits: 12

Thanks, I'll take a look at that.  The page does work just fine on IE outside of Inquisit on the computer.


Dave
Dave
Supreme Being
Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)

Group: Administrators
Posts: 9.8K, Visits: 46K

Can you share the link?


ahales
ahales
Expert
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)

Group: Forum Members
Posts: 8, Visits: 12

This (or some close variation) is the link: 


http://www1.psych.purdue.edu/~ahales/webcbc/cyberball.htm?userid=agileProgger&settings=3pljo&p2name=You&p1name=Player%201&p3name=Player%203


This Cyberball game has a complicated schedule of throws that I have already programmed in Cyberball 4 externally, so I would prefer to use this rather than reprogram the Inquisit version of Cyberball.


Dave
Dave
Supreme Being
Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)

Group: Administrators
Posts: 9.8K, Visits: 46K

The page does not render for me at all in IE (no Inquisit involvement whatsoever) or other browsers. But: Why go through the trouble of trying to pipe it through Inquisit at all? It might be better (and easier) to do this differently.


ahales
ahales
Expert
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)

Group: Forum Members
Posts: 8, Visits: 12

I think that is what I'm going to end up doing.  I had hoped to simply be able to pipe to the page to save myself from reprogramming the unique schedule of throws within the Inquisit Cyberball (or do you have another, simpler method in mind?).


Thank you very much for the  help.



Dave
Dave
Supreme Being
Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)

Group: Administrators
Posts: 9.8K, Visits: 46K

My question is: Why do you think you need Inquisit *at all*, at least for this web portion, given that (a) Inquisit does not record any data for instruction pages (including <htmlpage> elements) and (b) Inquisit does not have any magic access to whatever the respective web app might be doing (its data, results, etc.)?


If you want to connect data between the web app and other stuff collected via an Inquisit web experiment, you can do so by bouncing back and forth between the two and forwarding query parameters (see the "How to interoperate Inquisit with online survey packages" topic in the documentation).


GO


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....






Millisecond Forums


Search