Jump to content
  • 0

Hint Box on Mouse Over Field Labels


ganaxi

Question

Hi,

I am trying to add a hint that activates when someone mouses over a field label, something that is relatively common in html. However, it seems from talking to support that Caspio does not support that. Has anyone else dealt with that? and/or figured out a way to accomplish that? I want to still retain the sorting ability over the fields, so having an html block is not a reasonable option for me.

Thank you for your responses.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hi,

As I understand, you want to add hints to the result's page column headers.

Insert following code into the footer of the results page.

<script type='text/javascript'>
var v_tables = document.getElementsByTagName('table');
if (v_tables[2]){
var v_masa = v_tables[2].getElementsByTagName('a');
for(v_i=0;v_i<v_masa.length;v_i++){
v_masa[v_i].onmouseover = function(){ 
this.title= 'INSERT_YOUR_HINT_TEXT_HERE';
}; 
}
}
</script>

This example for result page with enabled "Search Again" or "Download" or "Advanced sorting" features.

If you don't have any of this features in the datapage, then replace v_tables[2] with v_tables[1] in the code.

And replace INSERT_YOUR_HINT_TEXT_HERE with you hint text.

Let me know if this helps.

Link to comment
Share on other sites

  • 0

Hi ShWolf:

That did not work for me.

I think my earlier description may have been misleading. What I am looking for is to add 'Tooltips' to the labels of the Caspio Results Table (i.e., the Titles to the Columns), that activate on a mouseover, e.g., while also retaining the sorting ability. Something like what's talked about here for implementation in a basic HTML page,

http://en.allexperts.com/q/HTML-3191/To ... lecell.htm

But is not so easy with Caspio, I believe, as it is script-driven.

Thanks for you response, and please help if you can.

Ganaxi

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...