This is exactly what I need. Thank you!
On Nov 17, 1:04 pm, Mona Remlawi [EMAIL PROTECTED] wrote:
take a look at [http://prototype-window.xilinus.com/] prototype based
window class that does confirm windows and others. ..
On Mon, Nov 17, 2008 at 11:48 AM, Cristisor [EMAIL PROTECTED] wrote:
Prototype JavaScript framework, version 1.6.0.3
scriptaculous.js v1.8.1
I am currently running a script that has a menu that scrolls down as
you scroll down. You can see it here
http://www.law.indiana.edu/lawlibrary/research/guides/european/index_hop.shtml
. But you can also a notice that when
2008/11/18 Matt Foster [EMAIL PROTECTED]:
No, its all POST methods being used here.
new
Ajax.Updater('respanel','data/fetchrespanel.php',{method:'get'});
Ah, that looks to be an error between whats on my server and what I
pasted into my email; I must have altered it afterwards
Hi everyone,
I have played around the InPlaceEditor for a while now and I notice
that upon completion of the text field, the InPlaceEditor immediately
makes a call the url supplied by the user.
I think this is kind of inefficient. Is there a way such that upon
complete, I can write a function
Hi,
I have an draggable element with a css position attribute that has a
value of 'fixed.' I'm calling Position.cumulativeOffset($
('taskbar')); via the onEnd option so the element is in the right
place when I go to drag it again.
Everything is working well, except when the page scrolls in any
Mornign Guys/Girls
I am having some trouble nulling out or stopping some dynamic
variables i have created ...
I have built a dynamic window system which does alot of things, one is
checking a database to ensure the most up to date information is in
input boxes ... Now to check this i create a
Hi,
Is there a way to produce a grid whereby clicking the anywhere on the
grid will result in an action that I would like to perform
specifically to that point?
...
something that can behave like this (maybe a white button)
...
Yes, that's not a problem, you can use divs or spans, since
Seems that setting ghosting:false (which I think is the deafualt
anyway) solved the problem.
On Nov 18, 8:09 pm, bidllc [EMAIL PROTECTED] wrote:
Hi,
I have an draggable element with a css position attribute that has a
value of 'fixed.' I'm calling Position.cumulativeOffset($
('taskbar'));
As an added bonus totally unforseen by me, when removing the element that
the object was initialized in - it seems to remove the object too ...
i.e the Object was created in an ajax callback in an element .. once i
applied $('div').remove(); to the element that created it then it seems to
I believe Element#insert() expects an object as its parameter, like this:
$('tableid').down('tbody').insert({top: tr});
http://prototypejs.org/api/element/insert
-Hector
On Wed, Nov 19, 2008 at 8:27 AM, jason maina [EMAIL PROTECTED] wrote:
Hi,
As per the subject i'm building DOM elements
sorry, I meant to make the prototype library src link more generic
before sending - just point it to your favorite 1.6.0.3 link
On Nov 19, 11:34 am, Jay [EMAIL PROTECTED] wrote:
Hi All,
I seem to be painted into a corner with use of $$ with respect to case
sensitivity of the id attribute of
Hi All,
I seem to be painted into a corner with use of $$ with respect to case
sensitivity of the id attribute of html elements. I get completely
opposite results between Firefox, Safari, and IE. All three work
differently. With an id such as aBc, Firefox can only find it with $$
('#aBc') and
Hi Glenn,
I had the same problem with scriptaculous fade in IE; your suggestion
of setting the style to include overflow:hidden worked very well.
Thank you!
David
On Oct 3, 8:00 pm, Glenn Wang [EMAIL PROTECTED] wrote:
Thanks for your response. I tried as you mentioned, but couldn't get
the
You can play with something like this:
html
head
SCRIPT LANGUAGE=javascript
var CurrentObj;
/SCRIPT
/head
body onfocusin=CurrentObj=event.srcElement;alert(CurrentObj.name)
form
input type = text name = txt
input type = text name = txt1
select name = seloption1/option/select
/body
/html
It is
I think all the menu should be base on ul -- li -- ul --
li, li .
Then you can design your style by yourself to make it look like menu
On Nov 19, 10:50 pm, jason maina [EMAIL PROTECTED] wrote:
Hi guys/galz,
Would like to make a menu like the one for facebook, any ideas??
Regards
Jason
That worked like a charm. Added a tbody and IE fell right in line.
Thanks for the feed back.
Cheers,
MK
On Nov 18, 5:16 pm, Jonathan Rosenberg [EMAIL PROTECTED] wrote:
Not much info to go on, but ... are you using tables? If so, did you include
tbody, tfoot theadelements?
--
Jonathan
You can do it if you want to. But one of the great things of
inPlaceEditor is to update database on live and to have the updated
feedback.
If tou change this yuu will have to create a way to tell the users
wich fields were updated and wich were not. (And depending on how many
fields he had
I don't know if i really understood the problem here...
But onComplete gets a XMLHttpRequest object. that has your server
response on XMLHttpRequest.responseText. in your case:
val.responseText.
Passing val as a parameter is a fully new Object as a value of
parameter. This is not allowed...
Bugs Fixed, now works as expected in the tested browsers, watch window
added to the sample page.
Tested Browsers:
FireFox 1.5.0.10, 2.0.0.6, 3.04
Safari 3.04, 3.2
IE 7.0.5730.11, 8.0.6001.18241
--~--~-~--~~~---~--~~
You received this message because you are
I had this kind of problem some time ago..
I had a table that was generated by javascript showing values that
were added to the database from all users. So when the administrator
needed to get the full table it took years to load.
This kind of thing is generally only text data, with no script
Hi Jay,
Thanks for this. We can ignore the results for when the case of the
ID you're requesting is different from the case of the ID on the
table, since case is significant in IDs[1] -- not that I'm surprised
to see that IE is, um, different there.
So to my mind, that leaves us with this
Sorry for the double-post: What version of Safari are you using and
on what platform? I've replicated the results in my post with Safari
3.1.2 for Windows on Windows XP.
-- T.J.
On Nov 19, 7:41 pm, T.J. Crowder [EMAIL PROTECTED] wrote:
Hi Jay,
Thanks for this. We can ignore the results
A prototype way might go something like this (untested):
var focused;
Event.observe(document, 'dom:loaded', function()
{
$$('input, select, textarea').invoke('observe', 'focus', function(event)
{
focused = event.element();
});
});
-Hector
On Wed, Nov 19, 2008 at 7:50 AM,
Hi, I'm trying to update my database with the string that is selected
by the user but am not sure how to do so? Thank you.
Here is my call in html.
td name='search' id='search' value='' /td
div id='autocomplete_choices' class='autocomplete'/div
input type=hidden id=artist_id name=artist_id
Yes, you have captured the essence of the issue - unexpectedly
inconsistent results across browsers, with no apparent workaround
except to make all id's and all class names lower case. On my tests
using Windows XP Pro SP3, the browser versions were Firefox 3.0.4, IE
6.0.2900, and Safari 3.2. On
I was trying to scale down the example to the essence of the issue. Of
course, $('Contents') should be interchangeable with $$('#Contents'),
except that is the bug - it doesn't work on Safari or IE. In the real
world, I might want the selector to be more like $$('table#tblTMRoster
tbody tr
You could check if the firstChild of the element in question is a textNode.
i.e.:
var c = el.firstChild;
if(c.nodeType == 3){ //text node
el.update(...);
}
Gabriel Gilini
www.usosim.com.br
[EMAIL PROTECTED]
[EMAIL PROTECTED]
On Wed, Nov 19, 2008 at 9:22 PM, lskatz [EMAIL PROTECTED] wrote:
Thanks. Updating into the database is working now! But when I select
one result from the list of results using the arrow keys the incorrect
selection is updated in the database.
If I don't use the arrow keys and just select the first result then
the correct result is in the database. How do I
I notice you have an uppercase letter in your $$ selector. I don't
know, but this could cause you some problems if you are not using
Firefox. Please see the discussion called 'cross browser $$ selector
problems'. You should not need to do this, but just for a test, try
making all id's and class
On Nov 19, 3:39 pm, Hector Virgen [EMAIL PROTECTED] wrote:
A prototype way might go something like this (untested):
var focused;
Event.observe(document, 'dom:loaded', function()
{
$$('input, select, textarea').invoke('observe', 'focus', function(event)
{
focused =
That's true, and yes that CSS selector should include buttons.
If you're building your DOM dynamically, you may want to create a form
element factory. Then this can automatically add the focus observer each
time you create a form element.
var focused;
function onElementFocus(event)
{
I realize how novice this question is...but
I need to return a javascript line of code instead of returning text.
I need dsJobs.loadData() to execute upon completion, however, even
after a week off (My appendix and I got in a big fight) I still can't
figure this out.
Help, please
How do i have it fixed at a certain point on the interface
irrespective of scrolling jumpy repositioning while scrolling?
Thank you for the ideas though.
Regards
Jason
On 11/19/08, Brian Williams [EMAIL PROTECTED] wrote:
the UL tag will also degrade somewhat gracefully for hand held browsers
I really recommend that you do some serious research on basic CSS... this
may sound cocky, but that's a CSS101 question.
position:fixed
On Thu, Nov 20, 2008 at 12:12 AM, jason maina [EMAIL PROTECTED] wrote:
How do i have it fixed at a certain point on the interface
irrespective of
34 matches
Mail list logo