Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Texts in Browser + subject_nr

Hello,

I am preparing a self-paced reading task but while my paragraphs work quite well in OpenSesame, they are not properly aligned when run in browser. These texts are pulled from the variable name. It just goes in one line and not as a whole batch below the picture. However, my welcome screen texts are perfectly working in a sketchpad probably because they are written directly. Is there any solutions for this?


Also, I need to assign participants to different experimental conditions; which I could pull off with run if statements. However, I am not sure how this will work with JATOS. For example the 13th participant should see the list 1 and it would follow until 12th list until the 25th participant again. I couldn't really figure out with JATOS documentation either... Any help would be really great.

Best,

Hülya

Comments

  • To Hulya:

    RE your first question, I would manually add <br> to break your long text into multiple lines and present it in sketchpad. A pain I know. But you can automate this process in any programming languages.


    To OS community:

    I have the same question 2. I would like to counterbalance participants across four lists. I typically do this using subject_nr in the desktop programme. In OSWeb, if I enter '1-4' in 'possible subject numbers', OSWeb seems to randomly assign one of the subject numbers to a new participant. I wonder whether the allocation of possible subject numbers is automatically counterbalanced or whether it is just random (meaning the number of participants on each subject_nr will be roughly equal if the sample is big enough but unlikely to be matched exactly.)?

    If it is the latter, i.e. counterbalancing is not built in in OSWeb, any suggestions on how to implement this?

    Many thanks!

    boyao

  • Hi boyao!

    Thank you for your answer for the first question. I keep forgetting that I may need workarounds with HTML tags! Thanks a lot, it worked wonders.

    My second question remains, and thanks for detailing it as well :)

    Best,

    Hülya

  • Hi Hulya,

    counterbalancing across participants can be done with inline_javascript. In python the code is:

    if var.subject_nr<12:
        var.condition = 1
    else:
       var.condition= 2 
    

    (of course you need to adapt the precise conditions to your needs.

    Also as mentioned, this is Python code, so you would have to translate it to javascript to make it osweb compatible. For this simple code, it shouldn't be too complicated though. See here: https://osdoc.cogsci.nl/3.2/manual/osweb/#inline-javascript


    Eduard

    Buy Me A Coffee

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games