Wrox Programmer Forums
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 16th, 2009, 07:44 AM
Registered User
 
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default set mouse pointer style

I have below frame setup.

Code:
 
<frameset rows="87,*,30" frameborder="NO" border="0" framespacing="0" cols="*"> 
  <frame name="topFrame" scrolling="no" noresize src="top_frame.asp" >
  
  <frameset cols="185,*" frameborder="NO" border="0" framespacing="0" rows="*"> 
    <frame name="leftFrame" scrolling="yes" noresize src="newmenu/empmenu_new.asp">
  <frame name="mainFrame" src="">
  </frameset>
  <frame name="bottomFrame" scrolling="no" noresize src="bottom_frame.asp" frameborder="yes">
</frameset>
Now a page in .asp from mainFrame wants to set mouse pointer style in frame leftFrame.
I tried with following in mainFrame page script but didn't work.

Code:
 parent.top.frames['leftFrame'].body.style.curosr = 'pointer';
Any idea??
 
Old December 17th, 2009, 03:36 AM
Registered User
 
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default

This is resolve, I tried following
Code:
 var oDoc = parent.top.frames['leftFrame'].document;
 oDoc.body.style.cursor = 'wait';





Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to redirect XML outputted by style sheet back into same style sheet Kenneth.Dougherty XSLT 4 November 9th, 2009 04:29 PM
How to set the style of printdocument? andyx C# 1 January 18th, 2005 08:15 PM
Moving the mouse pointer interrupt Javascript How-To 7 August 26th, 2004 07:37 AM
HourGlass Mouse Pointer Help rubymist3 Excel VBA 4 December 2nd, 2003 12:23 PM
difference between style.visibility and style.disp Mimi Javascript How-To 6 September 17th, 2003 11:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.