Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Apr 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Frames and images in WM5

    Hi,

    I'm running the following code in which I select a url from a list and the results are displayed in another frame. It works great on my desktop, but from IE on Windows Mobile 5 rather than display the resulting image, it trys to download it which isn't what I want. Any thoughts? I've omitted the locations in the pulldown because the information is sensitive.

    <html>
    <head>
    <title>Title</title>
    <SCRIPT LANGUAGE="JavaScript">
    function leapto(form) {
    var myindex=form.dest.selectedIndex;
    parent.main2.location.href=(form.dest.options[myindex].value);
    myindex = 0;
    }
    </SCRIPT>
    </head>
    <body>
    <FORM NAME="myform">
    <SELECT NAME="dest" SIZE=1 onChange="leapto(this.form)">
    <OPTION VALUE="http://www....

  • #2
    Regular Coder mjlorbet's Avatar
    Join Date
    Jan 2008
    Location
    Milwaukee, WI
    Posts
    724
    Thanks
    8
    Thanked 96 Times in 95 Posts
    what is the type of the image and is it an accepted type on the platform?
    -Mike
    "Want me to precludify him, like some kind of dispatcherator?... Can do!" -Bender

  • #3
    New to the CF scene
    Join Date
    Apr 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Its a regular jpeg but it also happens with gifs. Regular webpages seem to display images correctly so I wondered if it was my javascript maybe not using frames correctly.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •