Displaying 20 results from an estimated 10000 matches similar to: "Iframe shenanigans"
2007 May 11
15
Simulating onmouseleave and onmouseenter with Prototype
Hello.
I spent an hour or three chasing down a desired effect that mootools
implements, namely the simulation of onmouseleave and onmouseenter
events.
Why?
Lets say you have a Menu. A ul element that contains many li elements.
If you want to have a function (maybe an effect) fire when the mouse
moves outside of the ul, you are out of luck. Observe the mouseout
function like so:
2008 Apr 16
3
non-bubbling mouseover/mouseout
First, I have only played with Prototype for about a month, so I don''t
know it well. Second, I am more of a server-side programmer than a
client-side programmer.
In my page, I have a div that appears as a result of a link mouseover
event. This div is nested within another div that houses everything
(id = ''menuContainer''). I want the resulting div (which is a submenu)
2006 Jun 15
12
Why such bad performance with IE ?
Regarding DragDrop
I am wondering what the deal about Internet Explorer 6 is. My application is
near to final and now while testing browsers all but the IE6 are running as
supposed to. Any other browser is performing smooth movement while IE
compared provides a very bad expirience. I''ve seen some "tuning" infos on
this list but they are either outdated or not actually working
2006 Mar 04
1
RE: Question about event listener highlighting withchild elements
1. Create a separate class that has your highlight/unhighlight behavior
in it, and extend just the element you want to highlight with that
class... like this (also allows you to easily apply this behavior
elsewhere when you need it in the future):
Object.extend(this.el, HighlightBehaviorClass.prototype)
2. When defining your event handlers, assign them to variables so you
have a
2006 Jun 26
2
Drag''n''drop DOM elements between (I)FRAMEs
I am quite disappointed in the drag ''n'' drop support in Mozilla Firefox.
What am trying to achieve is dragging an element from one IFRAME/FRAME into
another IFRAME/FRAME. But upon dropping the element, I do not want the
target IFRAME/FRAME to open/load it. I want it simply to handle the event,
such as parsing the element/data dropped. Such uses as dropping an element
into a
2005 Dec 08
6
Bug in Effect.Highlight ?
Hi All,
I''ve just discover scriptaculous and it is a really good library. Even
if I have some difficulties with short syntax in javascript code :/
I have a strange behaviour with Effect.Highlight, and as it''s said on
bug report page :
"It''s also a good idea to discuss this on the Mailing List beforehand,
maybe it''s already known and in the works, or it
2008 May 30
7
Styling an Anchor Tag With Prototype
I have a question: How do you style the various components of the
anchor tag? I am doing it this way:
$$(''a:link,a:visited'').each(function(link){ //links
link.setStyle({ color: ''#''+$F(''cp4_Hex'') });
});
$$(''a:hover'').each(function(link){ //links
link.setStyle({ color: ''#''+$F(''cp5_Hex'')
2006 Jan 29
1
Works with iframe, but not ajax... ?!?
Hello all,
I''ve run into trouble attempting to replicate something in ajax that
worked when done with an iframe...
In both cases I have a table inside a div that is being periodically
refreshed every few seconds... The 1st column of each row in the table
contains a link to a DHTML popup menu. I have the popup menu working in
the ajax version.
The problem is that in the ajax version
2005 Sep 15
2
IE iframe bug with Autocompleter over HTTPS
I ran across an issues using the Autocompleter over HTTPS in IE (6.0
in WinXP Pro SP2).
I plan to submit a bug report to the Ruby on Rails trac, but first I''d
like "to discuss this on th[is] Mailing List beforehand, maybe it''s
already known and in the works, or it isn''t a bug" (per
http://wiki.script.aculo.us/scriptaculous/show/BugReports)
The autocomplete
2008 Jan 01
2
Ajax.Updater from within an IFrame
Hello together.
I''m trying to call an Ajax.Updater from within an IFrame to update an
element in the parent window.
It is working, but I receive an error from Firefox when I do so.
What I want to do is to upload a file, and then after the file has
completed uploading, automatically reload a section of the page with
information about the file to post-process it.
However, AJAX
2006 Feb 03
2
Scriptaculous: Newbie question - Effect.fade
Hi there,
Is it possible to do an effect.fade without removing the hidden document
from the flow when in becomes invisible?
I have a line of images (initially all invisible)
[] [] [] [] []
And a list of links
- link 1
- link 2
- link 3
- link 4
- link 5
And what I want to happen is to have the images appear on link mouseover
and disappear on mouseout but for the images to maintain their
2008 Jun 20
3
problems using effects.morph && effect.appear
Hi,
i wrote a sliding navigation using effect.morph and effect.appear. I
don''t know why but there are a couple of problems:
1. effect.appear seems not to work in IE6
2. The effects aren''t really "smooth".
3. When using effect appear. The new element triggers onmouseover the
onmouseout function....
It''s a small script:
www.rhizom.nl/volkan/scriptalicous
2005 Oct 05
5
InPlaceEditor crash on Safari
Quick question..
I often crash my Safari when using ''Enter'' on InPlaceEditor''s for
submitting.
Works fine on firefox(win & Mac) - no javascript errors.
Anyone else seen this behavior?
(Maybe it is just my alterings of InPlaceEditor :-)
Best Regards
Michael Krog
2006 Jun 16
5
Menu using Scriptaculous Effects = OnMouseOver bug
I am trying to achieve a Flash-like menu with OnMouseOver effects on
3 divs below. Unfortunately, the javascript resets when the mouse is
rolled over the text and if you go mouse crazy on the divs, the
script seems to remember where it cut off, and doesn''t roll down
completely afterwards.
Is it a good place to ask for help? I couldn''t find any Scriptaculous
forum (only
2006 Jun 19
13
PNG and Alpha-Transparency
Is there a prototype / extension which will assist in cross-browser support
of PNG images?
http://www.alistapart.com/articles/pngopacity/
It seems to me that a class could be developed which would zip through the
DOM and make changes where needed for IE 5.5 / IE 6.0 to handle PNG images.
I don''t want to write one if it''s been done before.
Sam
2006 Jun 27
14
iframe ... does it have an innerHTML ?
If I dynamically create a hidden iframe, how could I add a document in a
string to that element?
e.g.,
var sDocument = ''<html><head></head><body>Hello world.</body></html>'';
I''ve tried several variations of appendChild, innerHTML, document.innerHTML,
createTextNode.
Argh!
_______________________________________________
2006 Jun 29
3
dynamic generation of iframes and writing to them
Hello Everyone,
I would like to get some suggestions on a problem I am trying to address.
- I send a request to a 3rd party server (for ads) and a response is received from them.
- Currently, I display it inline on the page and things work fine but page loading is slow and the 3rd party response can mess up styles, js on my page.
- So, I want to capture this response and dynamically generate
2005 Aug 08
3
AutoCompleter IE6 and SELECT Element Clash
Hello,
I am using the AutoCompleter to great effect. However, the site design I
have been constrained by has <select> elements/drop down boxes below the
AutoCompleter field. This means that in Internet Explorer 6 the drop
down elements appear on top of the floating DIV when rendered in the
browser. Mozilla floats the DIV on top of the select elements as
expected.
Has anyone encountered,
2006 Jan 18
2
Event.stopObserving and anonymous functions
Hi all,
I'm using behaviour(.js) to add event handlers to all the table cells
in a table (mouseover, mouseout, clickk). However, I'm also ditching
the table and replacing it with an Ajax.Updater so I want to remove
all the observers before I lose them. Unfortunately, the Event.observe
calls were written as inline anonymous functions so, when calling
Event.stopObserving, I'm supposed
2006 Jan 20
5
Height problem after interrupting SlideDown/SlideUp effects
Hi,
i have a problem with the the SlideDown and SlideUp effects. Since a similiar
problem is also visible on the script.aculo.us homepage, i''m going to explain
it this way.
- Go to http://script.aculo.us/
- On the main site below "visual effects", click "Advanced options", the sub
panel will scroll down.
- Hit the close button, and while the panel is still