I'm coming from a jQuery background, so bear with me. Is there a
chart that will show me any methods that are similar in jQuery? More
specifically, I'm looking for a similar method to the
jQuery's .prepend()
Thanks,
Craig Gardner
--
You received this message because you are su
I've implemented what Rick (Thank You!) suggested, and it seems to
have solved the recognition problem. The only minor problem I'm still
having is that instead of a sliding effect, the div just abruptly
appears without sliding. It's as if it knows the div needs to be
displayed onclick, but not t
That's right, yes. I tried that at one point:
$count=$count+2;
while ($count<=$num_teams)
{
echo "Player ".$count . "{click to reserve a player spot}
Random Text that doesn't matter";
$count++;
}
However, it still wasn't working, so I decided to mess around with i
That's right, yes. I tried that at one point:
$count=$count+2;
while ($count<=$num_teams)
{
echo "Player ".$count . "{click to reserve a player spot}
Random Text that doesn't matter";
$count++;
}
However, it still wasn't working, so I decided to mess around with i
Hey,
I've got some php that's pulling entries from a table, and displaying
entries as well as giving a toggle effect to some. I put in some
static html to confirm that the effect is working inside the file, but
inside the php code the effect doesn't work... here's a snippet:
while ($count<=$num_
OK, nevermind I've got it. As you were saying, and as I didn't know,
everything in needs to be inside a .
Thanks for your help!
Craig
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype &a
I've resorted to downloading dreamweaver in the hopes that its
rudimentary html editor will help me, can you copy and paste with your
inserted 's. I don't mean to be super-noob here, but I'm at my
wits end lol
Thanks
--~--~-~--~~~---~--~~
You received this message
I suppose I should be more specific. My question is whether there are
certain HTML tags that could cause this to not work. I realize that
there's nothing in the slide div, in the actual code there is, I just
didn't paste it here.
--~--~-~--~~~---~--~~
You receive
I've got:
Team 1
{need a team}
The problem is that this works if I put it in a simple HTML file, but
if I try to paste this exact thing in my site code it doesn't work.
I've put the headers for prototype and javascript, so I'm assuming
I've got it working now. The problem was that I had a complex series
of ruby code and div closings that weren't in the right order.
Thanks for the help guys.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototyp
I'm generating div's dynamically based on the number of entries in a
table, and I'd like to make them draggables as well but it's not
working for me. I think the problem is with using a ruby variable
inside the javascript:
drag= "drag" (changed by the iterator by adding a char after
each c
Also fixed another bug for IE, whenever you click an option instead of
using return/tab it would ignore the afterupdateelement function and
not focus on the next text box but remain in the current one
onClick: function(event) {
var element = Event.findElement(event, 'LI');
this.index =
Thanks guys. I didn't realize toggle would do this for me.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroup
le to close.
On 17 Feb, 14:41, Craig wrote:
>
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://www.w3.org/1999/xhtml"; xml:lang="en-UK" lang="en-
> UK">
> http://www.w3.org/2000/08/w3c-synd/#";>
>
27;, {minChars:-1,frequency:
0.5,afterUpdateElement: getCustomerId});
function getCustomerId(text, li) {
//$('customer_id').value = li.id;
//$('branch').value='';
//$('branch_id').value=''
Have fixed this now by changing the event observer from the element to
the update element line 90 controls.js
Event.observe(this.update, 'blur', this.onBlur.bindAsEventListener
(this));
On 17 Feb, 13:08, Craig wrote:
> Firefox probabaly ignores clicks on the scroll bar and
Oh and the border goes around the div and the scroll bar on IE so
doubtful that its that.
On 17 Feb, 13:08, Craig wrote:
> Firefox probabaly ignores clicks on the scroll bar and thus does not
> lose focus. Here is the main part of the code
>
> var auto_cust;
> var auto_bran;
erId(text, li) {
$('customer_id').value = li.id;
$('branch').value='';
$('branch_id').value='';
$('branch').focus();
}
function customerCallback(element, entry) {
return entry + "&customer=" + $('
;
border:1px solid #888;
}
When clicking on the scroll bar it loses focus and closes the div. I
am currently trying to edit the onBlur function to check if focus is
still on this.update (the div) so i can set it to remain open.
On 17 Feb, 11:00, david wrote:
> Hi craig,
>
> not seem
I don't want to click while sliding, I want to perform the opposite
effect of what has already been clicked. If the div has been slid
down, I want to be able to click on the same button to have it slide
back up and vice versa. It isn't an issue of getting the sliding to
work, it already does, it
I'm using the SlideUp/SlideDown effects, and I'd like to use the same
button for both effects. Context from the demo wiki:
I tried (probably stupidly because of my lack of knowledge with html
and javascript) to use a logical XOR and logical OR to sort of
"conditionalize" the onclick effect, b
Am having one problem i cannot seem to solve. The autocompleter box
displays the results which has a set height so a scroll bar displays.
In FF but not other browsers when you scroll through the results it
works fine but in any other browser it will just lose focus and
disappear.
Anyone come accr
''})
The problem i am having is that it only gets the value of the hidden
text field on the initial page load which puts me back to square one.
Does anyone have a way of sending up the current value of another text
box as well as the orig
iated
Thanks
On Dec 18, 3:26 am, RobG wrote:
> On Dec 17, 8:52 pm, Craig wrote:
>
> > site im developing is not live but similar tohttp://www.aspecto.co.uk/
>
> > Is there much use in creating a slider function to run all the sliders
> > from would this make much of a differ
Who said it isnt my code..
On Dec 17, 2:51 pm, Diodeus wrote:
> Posting an example that is not your code and does not display the
> problem you are experiencing really doesn't help us debug YOUR
> problem.
>
> On Dec 17, 5:52 am, Craig wrote:
>
> > site
site im developing is not live but similar to http://www.aspecto.co.uk/
Is there much use in creating a slider function to run all the sliders
from would this make much of a difference?
On Dec 17, 4:35 am, RobG wrote:
> On Dec 17, 3:13 am, Craig wrote:
>
> > I have a very grap
appreciated
Thanks
Craig
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubsc
27 matches
Mail list logo