473,396 Members | 2,018 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

elementFromPoint in Frameset or frame

I used the elementFromPoint method and it works porperly in a page. when i set this page as a source of a frameset frame. it cannot work . it will return another element. How can i solve this problem ?
Dec 13 '07 #1
3 2066
rnd me
427 Expert 256MB
I used the elementFromPoint method and it works porperly in a page. when i set this page as a source of a frameset frame. it cannot work . it will return another element. How can i solve this problem ?
you have to run elementFromPoint from the current page.

for you that would mean running on whatever page is in the frame, not the outside page.
Dec 13 '07 #2
i used the script in same page. for Eg: i used WebForm1.aspx page and set it as a startpage. i used script inside the WebForm1.aspx. it will works properly. When i use another page like Teplate.aspx inside this page code like this

Teplate.aspx Code
============
<frameset border="0" frameSpacing="0" rows="*" frameBorder="0">
<frame name="navmenuMiddle" src="WebForm1.aspx">
</frameset>


Then set it as a start page. the WebForm1.aspx is rendered . But the elementFromPoint method is not working properly. it will return an another element.
Dec 13 '07 #3
rnd me
427 Expert 256MB
i used the script in same page. for Eg: i used WebForm1.aspx page and set it as a startpage. i used script inside the WebForm1.aspx. it will works properly. When i use another page like Teplate.aspx inside this page code like this

Teplate.aspx Code
============
<frameset border="0" frameSpacing="0" rows="*" frameBorder="0">
<frame name="navmenuMiddle" src="WebForm1.aspx">
</frameset>


Then set it as a start page. the WebForm1.aspx is rendered . But the elementFromPoint method is not working properly. it will return an another element.
if you are calling from WebForm1.aspx, and the pixel coord don't change as a result of being put in frame, then i have no idea what is wrong.
Dec 13 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Hans | last post by:
Hi There, I have a page that has links with some variables and I need to open the results set in a frameset. I have tried doing this in various different ways, but still cannot get the variable...
1
by: JP | last post by:
Hi, How can I create a dynamic frameset whose content changes based on user inputs? Specifically, how do I toggle a frame within a frameset? How can I allow a user to "close" or "dock" a...
13
by: Kai Grossjohann | last post by:
I have a web app which comprises different frames: a menu bar frame, a search form frame, a result list frame. Depending on the state, only a subset of these frames is available. (Eg, after...
1
by: Julius Mong | last post by:
Dear all, I have the following: <html> <head> .... </head> <frameset ...> <frame .../> <frameset name="page" rows="60,*" ...> <frame src='top.html' .../>
4
by: Frances Del Rio | last post by:
sorry, but need to post entire frameset here to ask my question: <frameset rows="79,344,107"> <frame name="header" src="header.html"> <frame name="player" src="mediaselect.html"> <frameset...
14
by: Alex Molochnikov | last post by:
Is there any way to embed the HTML code inside FRAMESET? Something like this: <frameset cols="50%,*"> <frame src=" ... HTML code for the frame ... "> <frame src="Frame2.html" name="main">...
12
by: Geoff Cox | last post by:
Hello I'm having a problem loading a frameset file using an include in a php file. Nothing is displayed and when I look at the source code I see that <html> <head> <title></title>
1
by: lev | last post by:
I want to pass a value(name) from a 'sign-in'(password) page to one(result) frame of a second, three-frame frameset page. I did this with 'action = result file.cgi' in the 'sign-in' file and...
4
by: maminx | last post by:
Hello..i have problem, hope someone can help me..i have this frameset below : <FRAMESET ROWS="55%" COLS="37%,63%"> <FRAME NAME="runningTrade" SRC="http://runningtrade.com" scrolling="no"> ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.