| |
| |
| |
|
Page: 1 2 3 4 5
Comments:
<0> that web page has a menu at the top of the page <0> a card <0> if you put on that it will be open as the midle of the page <0> is that javascript technology ? <0> and how can i find that script ? <0> hello ? <1> need some help <2> anyone want to help me a min its a simple one <2> http://www.neofuture.co.uk/createPopup.html <3> NeoFuture: solution to what? <2> i need the toolTip (which is a createPopup) next to the mouse <2> i cant get the event from the parent im using event.clientX <2> but cause the event.clientX is relative to the iframe its using that as the interger <2> i need the atcual mouse cooridnates in relation to top. not the coordinates inside the iframe <2> agagahh <4> Hi
<4> I am trying to make a popup, that opens an image <4> and I want to know how to change the title of the popupwindow <2> ffs i cant figure this !!!! <2> ok how can i get the position of an iframe FROM within the iframe <2> agagagah im going to smash somat in a min <2> http://www.neofuture.co.uk/createPopup.html <2> furtive (ie) <2> i cant pissing do it <5> you want the popup to show up where the mouse is? <2> i cant get the relative mouse coordinates to the top of the document <2> yes <5> oh, iframes <2> the triggers are in iframes <5> hmmm <2> yeah exactly <5> the iframe doesn't know where it's placed within the document, you have to determine that from the top document <5> you can get mouse relative to within the iframe, and then use that to offset based on position of iframe itself. <5> but i'm guessing you're doing that already, no? <2> yeah but i cant get the offset of the frame <5> in this snippet, where does the 200,22 come from? <span onMouseover="top.toolTip('wrong place again',200,22, event);" <5> (from one of the iframes) <2> thats the width and hight <2> of the popup <5> k <2> oPopup.show(e.clientX,e.clientY, w, h, document.body); <2> w ,h <5> yeah <5> one sec, lemme check some of my code, you'll need to add something to e.clientX and e.clientY <2> ok mate thanks <2> you might just save me putting all my hair out <5> np, go grab a drink, i'll have it in 1 min <2> thanks mate <5> i guess you could either: p*** back this.offsetLeft and this.offsetTop from the iframe and then just add the e.clientX and e.clientY to them...or you just p*** a reference of the iframe so that the function itself can determine what the offsetLeft and offsetTop are before adding them to e.clientX and e.clientY <5> seems to me you can get the object from e <5> one sec <5> (thinking out loud here) <5> yeah, e.srcElement <5> i suppose you could also use e.srcElement.style.pixelLeft and .pixelTop <2> whats srcElement relate too <5> it's the element that calls the onmouseover .. oh crap, it'll be the element within the iframe, wont it <2> cause if i have <table<table<div<span<mouseover its going to be the <span <5> you must have a function that tells you what the id/name of the iframe is from which the event comes from <2> not possible to do that im affraid <2> :( <5> :( <2> i tried to juet get the offset from the onmouseover by getting the document.body but its always 0 <5> and that's why i use div instead of iframe ;-) <2> furtive my app is tooooo complex for div`s <5> hmm... dunno, lemme think some more <5> yeah, i know <5> <div style='overflow:auto;idth:100%;height:100%;' <5> you notice the idth parth? <5> line 18 <5> no impact though afaik <2> no its a demo that bit anyway <2> ht311 will know hoq <2> how <5> so it goes back to having to be able to identify the iframe where the event came from and then being able to get the offset of that element and adding it to the clientX/Y <2> yeah i think so <2> agagagagghhhhh lol
<6> do u guys know if its poseble to css style a <select/option>? <5> pieki ... nope <5> create your own <2> no its not that styleable so i make my own <5> pretty much everyone creates their own <5> then you can stick things like checkboxes and pics in your pulldown <6> how js? <2> ht311 <2> oh ht311 <7> 'morning, not used a crowed morning <2> help me a furtive now else ill remove you from X <2> lol <5> a div with a pic at the end, and a div that appears underneath it onclick <5> geeze, gun to the head eh? <2> nah <2> lol <2> he knows im NOT kidding <2> sorry im only messin <5> i know ;-) <7> catching up what happen <2> http://www.neofuture.co.uk/createPopup.html <2> that DONT happen <7> pieki: yes possible. kind of limited support in IE <8> hi all. I need to disable a link after the first click. it's possible? thank yuo. <2> i mean the dom is the dom the cords should be there some where <6> ahh sure =) <5> onclick="this.style.display='none';" <5> oops, add a return false; at the end of it <8> thank you!:) but work the link? :) <8> return false? <5> it will the first click <5> yeah, otherwise if user scrolled page will scroll up <5> (depends on the type of link of course) <7> NeoFuture: give me a sec , so it all over the wrong place? you want it get to do what? <2> the tooTip needs to be next to the mouse coords <2> but the event is triggedred from an iframe <5> ht311: it doesn't add the offset of the iframe to the clientX/Y <5> he needs a way of identifying which iframe the event came from the top <7> yes, he need to p*** that to the toolTip function in the parent <7> top. .... didn't use it anymore <2> i need to by reference not ID tho <2> i gota use top cause there are so many bloody levels now <5> heh, this is cool: http://www.exodus-dev.com/products/WhyReboot/ <2> top.toolTop("stuff", 10,20,event,this.frame.position) <2> ^^^^^^^ <7> have toolTip inside each iframe, inthere, check is the current window is top, if it is not, add those offset/id/ref. and p*** it along <2> its never going to be top so i just need to reference against top <2> thats the problem i dunno how to <7> not really like function crossing over too much, i only have functions corssing the border in one place. all the stuff in the html is referencing the script in current document <2> i could do with INSIDE the iframe being able to say "where am in in relation to the top.document.body" <7> think isolation. topTip only care x , y you p*** <7> the iframe doc want to ask the "top" to display a tooltip at x,y <2> yes if i can get the clientX + top.thisIframe.offsetX <2> then it would work <7> the missing function inside the iframe is asking the "top" where I am <7> yes <7> for good practice, you don't want everyone can call top. all those access should hve tight control <2> yeah i know <2> this is specific to a decdicated task tho <2> i just need to make it work <7> so, write toolTip be more generic so that can include in all the doc <2> i have to include this in what i already have <2> its not that easy <2> i need the function in the top and be able to call from any iframe within the top.document.body <2> in places i have iframe sin iframes <7> function toolTop() {if (top.tooTip) {get more info and call top.toolTip) <7> or if (parent.toolTip ) ... <7> if you are careful enough, it work for any level <2> yeah thats not an issue, i will add that but i need to still parse the positions <7> sure there is a way ... <2> document layer and position of the function in the dom is not an issue this is only a demo script, the issue is the offest betweek the frame and the parent/top <7> yes, on multi level and the document inside iframe not knowing the frame id/name <2> http://affinity.owuk.net/dropdowndemo/ <2> IE drop down pieki
Return to
#javascript or Go to some related
logs:
oblivion SYNAPSiS #php U2POP undernet #ubuntu system (char *) clear c++ linux #squid undernet skype key
WHO IS THE BUXOM BOSOM BUDDY OF CAPTAIN KREMMEN gnuhh on ubuntu 4chan is evil
|
|