Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : WebPro browser link confusion


aranpura
10-04-2004, 10:27 PM
It's not exactly an eBook question, but I'm hoping to find some guidance amongst friends!

I've just gotten the Palm WiFi SDIO card for my T3. Overall I love it, but I'd hoped to use the card while studying for my medical board exam and that's proving tricky.

I have a subscription to a practice test question bank called Q-Bank, and I'd like to be able to access that from the Palm. I have no problem logging in and navigating to the test itself. But for some reason, the Javascript buttons that control the test aren't working so I can't actually initiate a test.

Since it's all under password protection, I'll post the HTML source of the problem page below. The link that I want to click is within span id="navCtrlstart_on", but there are no anchor tags indicated. Is this a problem I can fix from my end? I'm skeptical about whether I'll get any help from Kaplan in supporting a Palm.

Thanks,

--Ash.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Test Introduction - Kaplan Medical's USMLE Step 1 Qbank 2004</title><script language="javascript" src="javascript/js-browserState.asp"></script><script language="javascript" src="javascript/js-testFrame.asp"></script><script language="javascript" src="javascript/js-testFrame-handlers.asp"></script><script language="javascript" src="javascript/js-clock.asp"></script><script language="javascript" src="javascript/js-imageMgr.asp"></script><script language="javascript" src="javascript/js-focusFrame.asp"></script><script language="JavaScript">
var g_nReadyState = READYSTATE_LOADED;

var g_oFrameMgr = new FrameMgr(
"usmle",
"Aa",
"simMode",
false,
false,
false);

var bClockPresent = false

function handleOnLoad()
{
g_nReadyState = READYSTATE_READY;
var oState = getStateObject(); if (oState == null) return;
oState.SetValue("sTestFrame", "simMode");

if (bClockPresent && (g_oFrameMgr.m_sName == "simMode" || g_oFrameMgr.m_sName == "tutorMode") && g_oFrameMgr.m_bTimed)
{
if (g_oFrameMgr.m_oClock == null) g_oFrameMgr.m_oClock = new QBankClock("clock", "g_oFrameMgr.handleTimesUp()", g_oFrameMgr.m_bTimeLtd);
g_oFrameMgr.m_oClock.Start();
}
}
</script><style>
BODY { text-align:center;align=center }
.testIntro { padding: 20px; width: 550px; border-style: solid; border-color: #336699; border-width: 2pt 2pt 2pt 2pt; font-family: arial; font-size: 10pt; text-align: center; }
</style></head><body onLoad="handleOnLoad()"><center><br><table class="testIntro"><tr><td style="padding: 10px;"><br><div><table style="text-align: left;"><tr><td align="center"><span style="font-weight: bold; font-size: 10pt;">Kaplan Medical's USMLE Step 1 Qbank 2004</span><br></td></tr><tr><td align="center"><p>

Time:

18:00</p></td></tr><tr><td align="center"><p>

Questions:

15</p></td></tr></table></div><p></p><p>For each item, select the best of the answer choices given.</p><p>Since there is no penalty for incorrect responses, you should leave
yourself time to answer every item. If you finish early, you may review the
items using the Item Review window. When you have completed your review, end
the test by clicking on the End button. At this point you may take a break,
suspend the test and continue it at a later time. NOTE: Suspending the test
is NOT an option available on the actual USMLE test.</p><p>The Normal Lab Values button that accompanies each test item is a reference
for your use throughout the exam.</p><p>To begin, click the Start button.</p><p><span id="navCtrlstart_on" style="cursor: pointer; cursor: hand;" onClick="g_oFrameMgr.navigate('scope', 'relative', 'next')"><img name="testNavBtnStd.start" src="images/usmle/testFrame/navstart_lo.gif" title="Start the test"></span></p><br></td></tr></table></center></body></html>

Alexander Turcic
10-05-2004, 03:43 AM
Hey Ashish,
I think instead of asking Kaplan for support you should send a support ticket to palmOne or Novarra, the maker of WebPro browser. Perhaps Javascript support of WebPro is limited and breaks with this particular page.

Btw, the anchor is missing because instead there is a call to a javascript function - g_oFrameMgr.navigate('scope', 'relative', 'next') - which will then do the necessary redirection to the next page.
You should also have a look at all those "javascript/*.asp" referenced to in the page header, perhaps they can give some more clue as to why WebPro doesn't execute the javascript function properly.

macrotor
10-05-2004, 11:00 AM
@aranpura:
Have you tried both in proxy mode and direct?

Traecer Prime
10-05-2004, 11:32 AM
Palm Web Pro's JavaScript support is disabled in proxy mode ("Handheld View" on the Options menu). You need to switch it "Normal View" to enable JavaScript.

aranpura
10-05-2004, 03:49 PM
Thanks for the suggestions, everyone. I have tried Web Pro in both proxy and proxyless modes, and I get the same error either way.

Contacting palmOne and Novarro is a good suggestion, Alexander. At least it may get fixed in a future revision.

--Ash.