Jump to content

jlhaslip

Advanced Member
  • Posts

    524
  • Joined

  • Last visited

Everything posted by jlhaslip

  1. Can you sign on to the Host into the Cpanel or Web Host Account system? Have a look and see if the files are still there? And replace them with your backup files... you DO have backups, right?
  2. jlhaslip

    Too many comas

    Depends on the input that you are trying to remove commas from. What does the original data look like? Could you use implode() to create a string from the array? and echo that?
  3. add some margin-right to the galleria li about 70 px looks okay to me *edit typo*
  4. jlhaslip

    PhP Code problem

    $body= $_POST['comments']; $name = $_POST['name']; $email = $_POST['email']; Try that.
  5. "Fuzzy Select Tool" Top row, looks like a magic Wand.
  6. http://domains.whois.com/domain.php enter the IP address into the textare/input box on that site *edit* And yes, the auto increment should not be there because the data is not unique in the table. If anything, add another column to the table to auto increment as a record id, but the IP addy is not an auto increment field. As this script is written, it writes an entry into the DB for each page hit. You still need to have a script written to select/sort/sub-total the entries by IP or page for the data to be meaningful.
  7. Setting the system to parse html files as php is as simple as adding this line to your .htaccess file. AddType application/x-httpd-php .html If you don't have an .htaccess file at present, simply create one in a good text editor and upload it to the root of the account. Yes, the period belongs there, and No, there is no file extension. Some systems will not allow you to see or save the file without an extension on the file (Mac). Simply save it as a .txt file, upload and rename the file.
  8. I would drop the "We Do", "We Use" stuff and emphasis the Feature as follows:
  9. http://sonspring.com/journal/hoverbox-image-gallery And here is a Hoverbox that uses the script mentioned above. http://www.taryngillies.com/index.php This particular example reads a Folder of images and randomly displays them in a Hoverbox. Refresh the screen to see the 'random' effct. You might rather read the entire Folder. The script is structured so that you can use small thumbnails to display medium size pictures on hover with the full-size on-click.
  10. I use real browsers to check locally while I tweak the code, after seeing something that needs fixed in the Browser shot.
  11. Fairly dark design, but still very nice. I liked the Gallery of Photos and the multiple language selection. The multi languages causes some warnings about the space in the link tags, but not errors. I could not find any errors on the Contact page using Tidy in Firefox. There is often some disagreement between Tidy and the W3C.org html checker. I wouldn't worry about warnings, only errors. Have you seen the Hoverbox Gallery code? It does a larger image pop-up like yours, except centred on the thumbnail instead of at the top of the window. Might want to check it out. I wrote a php script that reads a folder and writes the Gallery if you need it, let me know.
  12. larry Ullman, an author of php and Mysql books, (which I have a couple of) is just starting to Blog about jQuery for a kick-off to the javascript side of things. Very concise method of instructing these technologies. http://blog.dmcinsights.com/2009/02/05/a-quick-intro-to-jquery
  13. If it was me, I would be after the Plug-in Author to check this out and they are the best source to have a fix written for the issue.
  14. Add this line to the top of the script inside php tags error_reporting(E_ALL); ini_set('html_errors', 1); ini_set('log_errors', 0); ini_set('display_errors', 1); and run it again to see what errors pop up.
  15. Needed to use a different technique to clear the content div. br />"http://www.w3.org/TR/html4/strict.dtd"> Test <br /> <br />body { <br /> margin: 0;<br /> padding: 0;<br /><br /> }<br /> <br />#content {<br /> <br /> width: 490px;<br /> height: auto;<br /> border: 10px dotted #cff;<br /> padding: 2px;<br /> <br /> }<br /> <br />.col1, .col2, .col3 {<br /> float: left;<br /> width: 150px;<br /> height: 150px;<br /> border: 3px solid #000;<br /> background-color:#FFc;<br /> margin: 3px;<br /> <br />}<br /><br /><br />.clear:after{ <br /> content: "."; <br /> display: block; <br /> height: 0; <br /> font-size:0; <br /> clear: both; visibility:hidden; <br /> } <br />.clear {<br /> display: inline-block;<br /> } <br /> <br />/* Hides from IE Mac \*/ <br />* html .clear{<br /> height: 1%;<br /> } <br />.clear{<br /> display:block;<br /> } <br />/* End Hack */ <br /><br /> Column 1 row 1 Column 2 row 1 Column 3 row 1 Column 1 row 2 Column 2 row 2 Column 3 row 2 Column 1 row 3 Column 2 row 3 Column 3 row 3 More info on this clearing method can be found at http://csscreator.com/?q=attributes/containedfloat.php
  16. We need the html as well. All of it.
  17. Would be nice to have a link to your test page. Or a listing of the html/css you are working with.
  18. margin: 0 4px; on all of them should work fine to balance them. try it and see.
  19. Set error reporting to E_ALL to see what the errors are??? Echo the query as a debug tool??? Script looks fine, right off the php.net manual. http://ca2.php.net/mysql-num-rows *edit* Assumes the connection info is correct... ?
  20. Might be just as well that the images don't show.
  21. Might be able to pick up an idea or two from the following link. http://jlhaslip.com/samples/gallery/thumbs/index.html
  22. What you might need is a Log-in system to capture the Email addresses for those willing to participate in a Newsletter campaign. The newsletter should have an opt-in and an opt-out feature, or else, as Thelma suggests, the mail would be considered SPAM. I am not aware of any method to 'capture' emails from a visitor unless they willingly supply them. That would be rather un-ethical and there are limits to what you can do on a visitor's computer for security reasons. Would you like to have your email inbox crammed full every day? Didn't think so...
  23. jlhaslip

    navigation

    cssplay.co.uk/menus/ has several IE compatible menus
  24. Start here:http://www.google.ca/search?q=multiple+select+html&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-US:unofficial&client=firefox-a or http://www.htmlcodetutorial.com/forms/_SELECT_MULTIPLE.html for the multiple drop-down selects or radio selects Do you know php? or any other server-side scripting? Do you have an email script? Post back if you need any more assistance.
×
×
  • Create New...