Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. MrMiyagi

    Help with simple jQuery based virtual keyboard?

    Hi, I need to make this work so would be thankful for some advice. I am building a simple virtual keyboard for a touchscreen. It works with one field but I have poblems when the user needs to select and fill many fields. I have few input fields and one textarea. User needs to be able to...
  2. MrMiyagi

    Simple PHP CMS for editing content ?

    If I choose Wordpress can I first write my xhtml/css with some javascript(prototype/scriptaculous) and flash elements and implement this page with wordpress? I would only need wordpress for updating these few paragraphs every now and then. I think your code example could also be my solution...
  3. MrMiyagi

    Simple PHP CMS for editing content ?

    Hello, I am building a simple informative website for a client. My problem is that the client needs a tool for editing text content on the site. I would just edit these few paragraph tags inside the html file and upload with ftp, but for the client some browser based solution is needed. So is...
  4. MrMiyagi

    Image Fader ?

    Hi, I need a script that would produce an image slideshow with a fade effect. I have this script and it almost works. Only some blinking every now and then. What do you think of the script? Any simplier suggestions or links? Thanks. var gblPhotoShufflerDivId = "rotator"; var...
  5. MrMiyagi

    Image Preloader?

    Hi, I have this code for preloading some big images on my page. The idea is to show a loading animation until the pics in the array are loaded. Most of the time it works, but sometimes it quits the loading animation before all images are loaded. Would be great if some jscript guru could check...
  6. MrMiyagi

    Fetch goldprice in realtime ?

    If I wanted to fetch the goldprice in real time(or between 10minutes) and publish it on my site. How could I do it? For example from here: http://money.cnn.com/data/commodities/ Or some chart like this: http://markets.ft.com/markets/commodities.asp Prototype framework has an...
  7. MrMiyagi

    Toggling body tag class names to get css menu higlights working.

    I have one more problem with this: <?php echo $_GET['n'] ?> If there is no n in the url I need it to return 1 by default?
  8. MrMiyagi

    Toggling body tag class names to get css menu higlights working.

    There isnt much code so I dont think the value is changed by another assignment.. What exactly does this do? $n = ( isset( $_GET['n'] ) ? $_GET['n'] : 0 );
  9. MrMiyagi

    Toggling body tag class names to get css menu higlights working.

    Hi, Thanks for helping with this one. I have one more question about this. I tried: <body class="page<?php echo $n;"> and <body class="page<?php echo $n>=1 && $n<=5?$n:1; ?>"> But the browser returned only the class value "page1" for each page when it should return page2, page3, page4...
  10. MrMiyagi

    PHP check if Javascript is disabled ?

    Thenks for help, but I need to do the exact opposite to noscript tags. I mean that i need to run the line of php only if javascript is enabled. Any hacks for that? Perhaps something like: <script>var jscriptenabled = 1 </script> if(jscriptenabled = 1) { <?php include("jscriptcontent.php")...
  11. MrMiyagi

    PHP check if Javascript is disabled ?

    Is there a way to call php with javascript...something like this? <script> document.write("<?php include("jscriptcontent.php"); ?>"); </script> Or a way to get this line of php hidden when javascript is disabled?
  12. MrMiyagi

    PHP check if Javascript is disabled ?

    Im not very experienced with php and this is most likely not the best practice but jscriptcontent adds this type of thing: <?php $n = ( isset( $_GET['n'] ) ? $_GET['n'] : 0 ); $htmlcontent = ""; switch ($n) { case "1": $htmlcontent = " content for case 1 "; break; case "2": $htmlcontent =...
  13. MrMiyagi

    PHP check if Javascript is disabled ?

    The file jscriptcontent.php adds elements to the site that i dont want to be added if javascript is disabled. So if javascript is disabled this line of php should not be processed at all: <?php include("jscriptcontent.php"); ?> So I need to hide it if javascript is disabled.
  14. MrMiyagi

    PHP check if Javascript is disabled ?

    What i need to do is add this line of php only if javascript is enabled: <?php include("jscriptcontent.php"); ?> I tried like this: <script> document.write("<?php include("jscriptcontent.php"); ?>"); </script> Doesnt work... So basically I need a way to tell PHP that javascript is enabled...
  15. MrMiyagi

    PHP check if Javascript is disabled ?

    Thanks for all answers. Could someone show an example code how exactly is this done? I could not get it working. "Set a meta refresh for 3 seconds. Specify a query string of nojs=true Set some JavaScript to kill the meta refresh. In php look for the presence of $_GET['nojs']. If it is present...
  16. MrMiyagi

    PHP check if Javascript is disabled ?

    Hello, I was thinking if it is possible to check if javascript is disabled with php. I am not very experienced coder but was thinking that something like this might work: <noscript> <div id="script_disabled" type="hidden"> </noscript> <?php Check if id="script_disabled" exsists if(exsists){...
  17. MrMiyagi

    Loading XML into html tree structure?

    Thanks Dan, I think I need to do some studying with my jscript/dom skills to get thisone moving. I know how to use the drag and drop feature of scriptaculous, but im stuck in the beginning. I have never before loaded an xml file into a html doc..What would be the easiest way to do...
  18. MrMiyagi

    Loading XML into html tree structure?

    Hello, This might be complex but lets see if someone has an idea for best practice how to do this. There are two steps but even solvin the first one would be a huge help. Perhaps some framework like prototype/scriptaculous or mootools would be helpful... Step 1. I need to build an browser...
  19. MrMiyagi

    focusing on textfields

    Hi, I have a function like this to focus on textfields: function focusEffect(element){ document.getElementById(element).focus(); } I am using it to an element like this: onmouseover = "focusEffect('field1')" onMouseout="focusEffect('') I need to change this so that onmouseover event: "if...
  20. MrMiyagi

    Javascript image slideshow.

    My problem is that this slideshow does not work. I only see the first picture, and it does not fade into another like it is supposed to. It should be able to show a picture for 2 second and transform into the nextone which it does not do..

Part and Inventory Search

Back
Top