Jump to content
Larry Ullman's Book Forums


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About electrum

  • Rank
  1. I can get the tooltips to work fine in ie9 , firefox 6.0.2 and chrome 13.07... just select one of the two options (polyps or strongs) with the radio buttons and hover over the added markup. If you dont see the radio buttons, then your browser doesnt support ajax. The site is not an application-based web tool, more just a personal record of bible studies etc.. the tooltips will be helpful for me, and the tooltip data shouldnt change,.. at least it hasn't since it was written in the latter half of the 19th century. But yes you're right. having a fallback in case the ajax isn't suppo
  2. Hiya,.. Its sure a workable idea. There are a couple of similar ideas ive seen elsewhere, an anchor had a nested span initially set to display: none. Ill have to look for it again. then, the anchor had its hover attribute fiddled to display the(empty) span, and the title attribute of that span then appeared as a tooltip. (i think - it was a while ago) I might go back to look for it. It did invole three or fourl different style settings. On the other side, I have a small test page, here I would like to be able to test it on a slower connection, but see what you think. If it isnt broken
  3. Hi there, I just tried to see if I could make a title attribute modified with an <h1> tag, but... <p>some text has a <span title="<h1>just an h1 tag</h1>">title</span> with an html content.</p> the tooltip simply shows "<h1>just an h1 tag</h1>" when hovering over the word "title" in the span. If the title attribute cant be styled by even having its own classname upon a tag, such as div or span, within the quotes... how would it work for me? Oh, and by the wrapper, I would like to be able to have the same methods for local s
  4. Hi again, Wouldnt parsing the whole document for the keys, performing a very disjointed set of "select" queries, parsing it into json and back, and then writing it into the right elements in the right order be a terror of a p vs np problem? I didnt store the reference key in my verses as the auto_increment primary key id. They are referenced by strongs number (a kind of alphabetical order) This allows easy linking of the word origins between different entries. Reparsing the whole database is an option... but arrrgh! My approach is to use tooltips that i could style with css, I have not
  5. Hi Larry, The speed is not a problem, in fact its faster on the isp's server than on my own PC,.. the looping back though localhost in my host file adds a considerable lag on my pc with xammp. My isp stopped offering hosting some 5 years back and only provide it for customers who already had it before then, so its really zippy, and they recently upgraded their cgi too. The actual tooltips themselves would be tricky to implement without ajax,.. they would require a redirect to another page for sure... They have several parts, the reference key, the original words in greek or hebrew (needs
  6. Hi there! I posted a question on the php6/Mysql forum a while back about making popup tooltips with content filled through a mysql database connection. I was pointed towards the ajax quick project book, and as near as can be.. it is almost ready for uploading to my isp's server. The project is to allow the user access to live popup tooltips over bible scripture containing the original greek/hebrew definitons from the Mysql database. The connection is through ajax. I have a couple of enduring small problems... I have a small form with three radio buttons linked to onchange handlers in
  7. Hi again, Thamks Paul, I might go for that if I cant get the definitions to work in 'ccs styled' table form within the popup. I have reserved a copy of Larry's ajax book from my county library, I should have it within a couple of days. I found I can do exactly what I would've liked by using <iframe src="http://.../scripts/lexicon.php?id=1234"></iframe> within Dreamweavers tooltip balloons. (And style with css) Unfortuneately, <iframe> looks as if it is on its way out. Still, I am always up for a challenge, and the ajax idea is certainly more future-proof than usi
  8. Hi there, I will seriously think about purchasing Larry's ajax book! I was hoping to be able to use php for querying the databases.. Each section of text (bible verse) will need to be pre-formatted with references (<span id=...>) for each word, to the particular definition of the original greek, from the database. These id's will be pre-generated and left in the page's html content (from an admin script). The particular tooltips would be better generated on the fly, with the content formatted by php - (being the bulk of the data) querying the lexicon databases with the parti
  9. Hi there, I have just finished going through the examples in the book. I really enjoyed working through it! I was particularly interested in the final example, when the view_print page is sent an image through the header() function from the show_image script. Is there any way to send inline html content within the header function? I am unsure of how to do this. I picked up your marvellous book because my ISP provides a basic MySQL service. My hope is to use dreamweaver's built in popup balloons / mouseovers to show the dictionary definitions within a Mysql database applied to textual e
  10. Thank you! The $_SERVER['REQUEST_URI'] seems to be just the ticket! thank you! - looks like it will solve the referring domain trouble too.
  11. Hi again, I managed a rather bodge job of fixing this... simply used str_ireplace to remove '~usrname/' from the path and replace it with an empty string. I would prefer to find some way that would keep this script as universal as possible. Any ideas? Thanks.
  12. Hi there, I am really enjoying the book, but I have been having trouble with the login_functions.inc.php script in chapter 11. This is not due to an error in the code, or typeing errors, the script runs fine and does exactly what it is supposed to do. My problem is I cannot use the function myself because of the way my cgi server is set up with my domain name by my ISP. when concatenating the parts of the URL together in the absolute_url() function, with the variables $url = 'http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']); The parts of these variables add
  • Create New...