facebook

Open File from On change select list in Popup no control

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #330944 Reply

    Ideaweb
    Member

    Hello Mobione.

    First of all, great job with the 2.2 upgrade, it really fixes a lot of my problems! Just a beauty!

    I need a little help with opening a pdf file into the popup window with no controls from an on change event.

    This is what i have:

    SelectListMenu with PDF filenames in values. eg (xxx.pdf)

    JS on change code: location.href = $(‘select[name=”selectListMenu1″] :selected’). val()

    This opens the pdf file without scaling and no back button. I would like to open the PDF file from on change event into the 2.2 Popup window with No controls.

    I was looking in the source, and expected this line to somehow be included in the onchange js code: phoneui.showURL(‘xxx.pdf’, ‘_child’, {showLocationBar: false, })

    Thank you in advance Mobione! Excellent support!

    #331186 Reply

    Hi Ideaweb,

    I’ve done some test and everything is working fine on my side. I suspect that your select list name is wrong in next line of code:

    Please try changing"selectListMenu1" by "list1". Let me know how it goes.
    

    Please try chanching “selectListMenu1” by “list1”. Let me know how it goes.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Open File from On change select list in Popup no control

You must be logged in to post in the forum log in