
Maq
Administrators-
Posts
9,363 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Maq
-
I generally don't mind code completion especially for XSL which I deal with on a daily basis.
-
Interesting project, I just finished the survey.
-
Done. Old: schwiegler New: squigs
-
old: vamosbenedikt new: kbh43dz_u
-
Old: Hybrid Kill3r New: ShoeLace1291
-
A lot of bigger IDEs have plugins that support (S)FTP.
-
Error- Cannot modify header information - headers already sent
Maq replied to bleustreak12's topic in PHP Coding Help
Have you read this sticky? http://www.phpfreaks.com/forums/index.php?topic=37442.0 -
Old: Blade280891 New: DeanWhitehouse
-
Can I see the HTML code where you are calling the dialog? Also, you may need to add an onmouseout() call to close the previous dialog.
-
Sure, post the specific bugs, the pertaining code, errors, etc. if you need help with them.
-
Please don't upload the entire code, that has nothing to do with it plus people aren't going to download random files. I showed you exactly how to load an AJAX response into a dialog. You call it like this: Show Dialog Of course replace google.com with your server call. Also make sure you include your dialog.js (the file containing "newDialog()") .
-
Kyle, in the future, please place OR tags around your code. You also should not be using short tags, use <?php.
-
I would assume specifying the XML document as UTF-8 when creating it and database table, should fix it.
-
This is why I suggested a framework like JQuery. It makes everything easier, especially loading into dialogs. Here is an example: In your .js file, write a function like this: function newDialog(url) { $("body").append(""); $("#new-dialog").load(url, {}, function(responseText, textStatus, XMLHttpRequest) { }).dialog( { height: 680, width: 840, draggable :true, resizable :false, closeOnEscape: false, close : function(ev, ui) { $('#new-dialog').remove(); } }); } This creates a div (#new-dialog) on the fly so you have something to populate into. The "url" parameter is the URL for the AJAX call. After it makes the call, the responseText will populate into the #new-dialog dialog. You call it the same way you're doing it now.
-
This should give you some good ideas - http://net.tutsplus.com/tutorials/javascript-ajax/5-ways-to-make-ajax-calls-with-jquery/ You should pass in the "$idi" as a parameter when you call your AJAX method. If you need more help, make an attempt and post back.
-
Overall, I think it looks nice, clean and straight to the point, it will be easy for users to find what they're looking for. Something small that bothered me: After selecting from the menu, don't auto scroll me down to the main container. The site is short enough where most can see the content and not have to scroll back up to select another option.
-
I would suggest fixing it from the root, create and store the XML documents as UTF-8. It's really what you should be doing anyway, even if it's for the sake of universality.
-
I would suggest using a framework like JQuery. Google JQuery post call, and you will find some examples similar to what you're trying to do.
-
Old: thitami New: loxy1914
-
This topic has been moved to Editor Help (Dreamweaver, Zend, etc). http://www.phpfreaks.com/forums/index.php?topic=345641.0
-
Yes, that has already been pointed out in the initial post. I think everyone saying "why reinvent the wheel", including myself, are referring to people that are using raw JS for those reasons.
-
Done. Old: luisperez New: luis1