Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all,
Vanilla are planning an update to the site on April 24th (next Wednesday). It is a major PHP8 update which is expected to boost performance across the site. The site will be down from 7pm and it is expected to take about an hour to complete. We appreciate your patience during the update.
Thanks all.

VB.NET popup display image

Options
  • 05-04-2007 11:20am
    #1
    Registered Users Posts: 500 ✭✭✭


    Hi folks,

    I have an image in my DB - I retreive the image and display it to the user.

    The way it does this at the moment it writes using Response.write().
    This seems to write a new page that contains ONLY the image.
    Which is OK -
    However i would like to have the image open in a new window as a popup. Any ideas?


Comments

  • Closed Accounts Posts: 884 ✭✭✭NutJob


    JavaScript ? http://www.javascript-coder.com/window-popup/javascript-window-open.phtml

    You might want to grab book on web design or google alot


  • Registered Users Posts: 500 ✭✭✭warrenaldo


    cheers nutjob found a way to do it on javascript.

    Response.Write("<SCRIPT>")
    Response.Write("window.open('mypage.aspx?value=" + "HELLO" + "',null,'height=900,width=750, status=yes,toolbar=no ,menubar=no,location=no,resizable=yes');")
    Response.Write("</SCRIPT>")

    So simple when you know how.


Advertisement