...

View Full Version : Frames and images in WM5



happyheth
04-25-2008, 11:54 AM
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....

mjlorbet
04-25-2008, 12:19 PM
what is the type of the image and is it an accepted type on the platform?

happyheth
04-25-2008, 12:25 PM
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum