Background image at all times?


Author
Message
zajac
zajac
Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)
Group: Forum Members
Posts: 28, Visits: 98
I would like to have a logo displayed on screen at all times (top left hand corner).  I can set it as / bgstim = logo    However, this is not visible during the instruction page phase.  I note that there is no bgstim element for the 'experiment' either.  Is there a way I can get this to display at all times, including during instructions?

Ian.

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K
No, you cannot display background stimuli on instruction pages. The solution is to use standard <trial>, <text>, etc. elements to display your instructions instead of using <page> elements.

zajac
zajac
Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)
Group: Forum Members
Posts: 28, Visits: 98
That's what I thought.  It doesn't seem that you can present html pages very well during a trial as it loses the images etc that would otherwise appear.  Or have I got this wrong?  



Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K
If any stimulus (be it <text>, <picture>, <shape> or <html>) in a <trial> overwrites stimuli displayed via a <block> element's /bgstim attribute, they'll be gone. You ought to /size and /position the stims properly to avoid that.

zajac
zajac
Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)
Group: Forum Members
Posts: 28, Visits: 98
Sorry Dave - what I meant was that images embedded within the HTML page/code itself don't display when <html> is presented as a trial stimulus, not that it overwrites other stimuli.   They display fine if presenting HTML as part of an instruction element though.

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K
Hmm, I am unable to reproduce this -- <html> renders fine for me when displayed via a <trial> (see attached screenshot and example files). Is your Inquisit installation up to date? If so, which OS are you seeing this under?

Attachments
screenshot.png (306 views, 40.00 KB)
HTML_Example.zip (336 views, 20.00 KB)
zajac
zajac
Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)
Group: Forum Members
Posts: 28, Visits: 98
Ok.  So it turns out that I was using the <htmlpage> element as opposed to a <html> element as per your example.  Somehow, I was able to get an htmlpage element to show during a trial and this is when the image wouldn't appear.  However, I can't seem to get a trial to run a htmlpage again as I just get the "can't find the element" warning. So, in short, the problem is solved.  Present a <html> element within a trial, specifying size etc.  A logo can then be displayed at all times.


Thanks Dave.




GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search