I'm not a cryptologist. I have absolutely no idea what you are talking about.
Try to describe the problem and ask a specific question. It seems a jquery related question. What are you trying to accieve? What is the expected behaviour? Try to add a please ;-)
For this theme, in the template file, there is a small function for toggling between the different colors and font sizes. For the background image of the banner, I want to send that to the function along with color. I just need to know the specific syntax for doing that.
My first post was meant to read "I tried *code example*. No Dice. What does it require?" But the code was filtered out, so I made the reply with the code. That code doesn't throw any browser or Drupal errors, but it doesn't work.
Ok, its seems i have to use my decryptic powers however. Consider the following: you are asking someone, who
is doing this in his freetime
is not a native english speaker
feels reminded of the following scene form pulp fiction:
VINCENT
A "please" would be nice.
The Wolf stops and turns around.
THE WOLF
Come again?
VINCENT
I said a "please" would be nice.
The Wolf takes a step toward him.
THE WOLF
Set is straight, Buster. I'm not
here to say "please." I'm here to
tell you what to do. And if self-
preservation is an instinct you
possess, you better fuckin' do it
and do it quick. I'm here to help.
If my help's not appreciated, lotsa
luck gentlemen.
JULES
It ain't that way, Mr. Wolf. Your
help is definitely appreciated.
VINCENT
I don't mean any disrespect. I
just don't like people barkin'
orders at me.
THE WOLF
If I'm curt with you, it's because
time is a factor. I think fast, I
talk fast, and I need you guys to
act fast if you want to get out of
this. So pretty please, with sugar
on top, clean the fuckin' car.
So back to business, mr wolf: urbandictionary.com gives the following explanation for "no dice"
No dice: An outright refusal, denial or rebuttal; essentially, shorthand for 'no fucking way'.
Joe: Hey Johnboy, can I borrow a cigarette?
Johnboy: No dice!
So you cannot "send" the image to the function. Well, you can but nothing will happen, but you could write your own function. These 2 sites may help you in understanding how jquery works.
Comments
Comment #1
The AL commentedSorry:
<a href="#" style="background-color:#FF9900;" onclick="toggle_style(\'#FF9900\',\'/img/headerimg.jpg\');"></a>Comment #2
derjochenmeyer commentedI'm not a cryptologist. I have absolutely no idea what you are talking about.
Try to describe the problem and ask a specific question. It seems a jquery related question. What are you trying to accieve? What is the expected behaviour? Try to add a please ;-)
Comment #3
The AL commentedFor this theme, in the template file, there is a small function for toggling between the different colors and font sizes. For the background image of the banner, I want to send that to the function along with color. I just need to know the specific syntax for doing that.
My first post was meant to read "I tried *code example*. No Dice. What does it require?" But the code was filtered out, so I made the reply with the code. That code doesn't throw any browser or Drupal errors, but it doesn't work.
Comment #4
derjochenmeyer commentedOk, its seems i have to use my decryptic powers however. Consider the following: you are asking someone, who
So back to business, mr wolf: urbandictionary.com gives the following explanation for "no dice"
There are other explanations, but however i think i got it (http://www.urbandictionary.com/define.php?term=no+dice).
If you take a look at the function it takes ONE variable "color"
So you cannot "send" the image to the function. Well, you can but nothing will happen, but you could write your own function. These 2 sites may help you in understanding how jquery works.
http://jquery.bassistance.de/api-browser/
http://docs.jquery.com/Tutorials:How_to_Get_Anything_You_Want
Without "please", no dice that i do it for you. ;-)
Comment #5
The AL commentedOkaaaaaaaaaaaaaay. *cough* I'll just rewrite the function myself. ;-)