RichardRotterdam
Members-
Posts
1,509 -
Joined
-
Last visited
Everything posted by RichardRotterdam
-
[SOLVED] Help with simplexml_load_string
RichardRotterdam replied to djones's topic in PHP Coding Help
The object returned is Case sensitive. or is that an array. Can you show the xml? -
If you really want to go in depth with this I suggest you learn about DOM(Document Object Model). w3c schools has some tutorials about that http://www.w3schools.com/htmldom/default.asp After knowing the basics of javascript and DOM you might wanna grab yourself a js framework such as mootools, jQuery, Prototype etc since it makes that stuff a hell lot easier
-
What you basicly do is echo out the php var so it can be used in your swf. something like:(untested) <param name="flashvars" value="var1=<?php echo $phpvar;?>" /> <embed src="flashvarsTutorial.swf" flashvars="var1=<?php echo $phpvar;?>" type="application/x-shockwave-flash" ></embed> If i remember correct firefox and ie handles flashvars differently that's why you need to echo the var out twice. I am not very sure on this though since I haven't really used flash for over a year or so.
-
If it's simply using just one var from php you want to use why simply not use flash vars? http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16417
-
I agree on the ajax part. However I don't think you need seperate dynamic pages either. Why don't you simply use hidden divs that shows one div at a time? Also wouldn't it be handier to use tabs instead of the pulldown? That way you simply use one click to show the desired content. Besides having one action less to deal with you know directly what a certain action does. On your page you only know what content is "hidden" after you have clicked the pulldown. Here is a link of what I mean: http://www.stilbuero.de/jquery/tabs_3/
-
like this? http://www.socialembedded.com/labs/jQuery-Rotator-Plugin/jQuery-Rotator-Plugin.html
-
I tried cakephp yesterday and basicly it was just unzipping it to my localhost directory. How is that taking too long to install?
-
Sounds like you're describing a tooltip. Try searching around for the keyword "tooltip" here is one example : http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm
-
script conflict with browsers
RichardRotterdam replied to kendallkamikaze's topic in Javascript Help
You could do that by using just one function. Pass the checked status of the checkbox (untested) <script> function changeCheckStat(field,status) { for (i = 0; i < field.length; i++){ field[i].checked = status ; } } </script> <input type="checkbox" name="CheckAll" value="Check All" onClick="changeCheckStat(document.myform.list,this.checked)"> -
I could adjust your script so it does what it is suppose to do. However this forum is intended as help and not a "can you fix this for me" forum. I am very willingly to point you in the right direction and say whether you are on the right track but fixing this thing is up to you.
-
next time please use [ code][ /code] tags please You need to fetch the values using $_POST $fname=(isset($_POST['fname']))?$_POST['fname']:"";
-
Sorry bout that I didnt scroll down and only saw the css so thats my bad. Do you mean you want to make the pictures visable with an animation? As in slowly fade them in sequence?
-
what exactly is your script?
-
Editing this Javascript so that it adds #
RichardRotterdam replied to ev5unleash's topic in Javascript Help
Well you need some sort of function that handles the onclick of a certain button. What code do you have for that? It should be something like <script> window.load=function(){ var colorButton=document.getElementById('YOURBUTTONIDHERE'); colorButton.click=function(){ //your color changing script here } } </script> -
Editing this Javascript so that it adds #
RichardRotterdam replied to ev5unleash's topic in Javascript Help
what's the code you have so far? -
[SOLVED] Looking for date/time JS popup script
RichardRotterdam replied to Yesideez's topic in Javascript Help
There are indeed a lot of nice datepicker scripts out there. For the time picker why not simply use 2 pulldown menus (one for hours and one for minutes) if your using a 12 hour clock you could add a radio for am and pm -
Correct it does mean that. "php Restaurant script" might not be the exact wordt that will result in something which is suitable for your needs. However I am pretty sure that with some searching around you will be able to find something that will match your needs. If not you'll be best off building it yourself or placing a request on the freelance board
-
http://lmgtfy.com/?q=php+restaurant+script
-
Indeed a bit too vague. You will need to be more specific what you are trying to achieve. But I'll make a guess. Are you trying to load pagedata into a div without refreshing the page? That would sound like a typical case of Ajax
-
Editing this Javascript so that it adds #
RichardRotterdam replied to ev5unleash's topic in Javascript Help
I see the input element of the script has an id named "cp1_Hex". You could just use the getElementById function to get that propery and then add the # char to it <script type="text/javascript"> var color=getElementById("cp1_Hex").innerHTML; var color="#"+color; </script> -
[SOLVED] Problem with PHP Data Objects.
RichardRotterdam replied to Seven_Rings's topic in PHP Coding Help
why did you create a PDOMySQL class? PDO supports mysql fine as it is. -
Can you post the xml source or a part of it so at least the structure is visible?
-
How to start and maintain a good forum (such as this one)
RichardRotterdam replied to Derleek's topic in Miscellaneous
That's not a bad idea. Having a forum just for mootools or just the js frameworks might be a little bit too narrow. However creating a javascript forum might just pull it off.