• Page 1 of 2
  • 1
  • 2
  • »
Forum moderator: bigblog  
uCoz Community » For Webmasters » Custom Solutions » Light hint for ucoz (This script will show a Hint or a Tip at mouse hover)
Light hint for ucoz
AdminDan
Posts: 46
Reputation: 5

Message # 1 | 4:57 PM


Paste the code in the Top Part or the Bottom Part of your website

Function : It shows a hint like tip on mouse hover on your website. When you take your mouse cursor over anything on your website it will show a brief description. It only works if any link, word or picture on your website has a <title> added to it.

Code
<link type="text/css" rel="StyleSheet" href="http://full4dl.ucoz.com/Support/hintsaita.css">     
<script type="text/javascript" src="http://full4dl.ucoz.com/Support/hintsaita.js"></script>


Here is another code which will give you a black look for Tooltip.



Code
<link type="text/css" rel="StyleSheet" href="http://full4dl.ucoz.com/Support/hintblack.css" />   
<script type="text/javascript" src="http://full4dl.ucoz.com/Support/hintblack.js"></script>


P.S : It can be used on any website for ucoz on any color.

Visit and Register with our website now !![ Looking for Posters and up-loaders ]
http://www.tinymb.com
Post edited by AdminDan - Thursday, 2013-03-21, 6:18 PM
CodeResolution
Posts: 1570
Reputation: 58

Message # 2 | 4:15 PM
AdminDan, I would recommend allowing users to download the StyleSheet and Javascript file. If your website was to go down, this will affect the users with this code enabled on there site.

Also if you wouldn't mind updating the demo image? It isn't very clear of the scripts functions and capabilities.

Please provide download links and some brief advice smile

Kind regards,
Elliott.

"The best uCoz" critic since 2007.
Qualified website, branding, print & user interface designer.

I'm on Behance and Twitter.
Post edited by CodeResolution - Thursday, 2013-03-21, 4:19 PM
AdminDan
Posts: 46
Reputation: 5

Message # 3 | 5:34 PM
I will try adding the files to download. It is just a script they need to add . The script will do the rest . It's not a big deal for anyone CodeResolution,
Visit and Register with our website now !![ Looking for Posters and up-loaders ]
http://www.tinymb.com
CodeResolution
Posts: 1570
Reputation: 58

Message # 4 | 5:58 PM
AdminDan, no problem. I look forward to seeing you update the thread.

Just make sure that users know to insert the CSS into their own template, and the JS is hosted on their own sites. I looked at the CSS and line 2 is the exact same as line 1 so that's useless.

Also where is the HTML? Would you not need to use the '.hint' as a class for a button or div to enable the script?

An actual live Demo would be good.

smile

Kind regards,
Elliott.

"The best uCoz" critic since 2007.
Qualified website, branding, print & user interface designer.

I'm on Behance and Twitter.
AdminDan
Posts: 46
Reputation: 5

Message # 5 | 6:00 PM
CodeResolution, I would recommend you to first add the above scripts to your own website and check before we get any further. All scripts that I have added or solutions are always tried on my website before its out to others. So , you need not worry about the CSS code and line 1 or 2 . Its all in there.
Visit and Register with our website now !![ Looking for Posters and up-loaders ]
http://www.tinymb.com
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 6 | 7:37 AM
CodeResolution, El, the code's running globally across all elements with the title attribute. Deprecated I agree. A class selector would be better but up to the developer I guess *shrugs*.

AdminDan, as to CodeRes's other point about the CSS however he is giving you pointers as to where to improve the code. Taking 2 lines of code to attain the same result as 1 is not efficient and creates an unnecessary process for the browser which could result in conflicts.

Additionally, could you please make sure your signature here on the forums is a maximum of 30px high - that includes all images and text. A maximum of 30px. wink

Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
AdminDan
Posts: 46
Reputation: 5

Message # 7 | 8:10 AM
Paradox, I understand that and have done what was possible. That's why I have added 2 scripts . People who use it need to check the scripts and understand them before they use it . I'm sure , that we get only webmasters who own sites on this forum right ?

That way they would know what the above code is and how to arrange or style it.

Visit and Register with our website now !![ Looking for Posters and up-loaders ]
http://www.tinymb.com
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 8 | 8:34 AM
Quote (AdminDan)
I'm sure , that we get only webmasters who own sites on this forum right ?


This forum is the official support forum for the uCoz CMS. We have users of all experience levels and backgrounds; from hobbyist developers who are using solely the Visual UI of the system having little-to-know previous knowledge of HTML, to fully fledged web developer/designers with a considerable knowledge base of HTML/CSS/JavaScript. Scripts and tutorials here need to be interpretable and understand for all ranges of users that use the service.

Your signature is also currently 100px high. It can be a maximum of 30px high. This is the same as 2-3 lines of standard signature text.

Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
AdminDan
Posts: 46
Reputation: 5

Message # 9 | 8:42 AM
Paradox, I believe the above script or the others I mentioned are self explanatory . The description is present and its a 2 line script to add. if they have any questions they will surely post here.
Visit and Register with our website now !![ Looking for Posters and up-loaders ]
http://www.tinymb.com
belmo996
Posts: 123
Reputation: 4

Message # 10 | 10:11 AM
As a Web Developer I will say few things smile

AdminDan, you are not author of that script and you should specify it smile

This script is old,and I think this script can do with jQuery+CSS with .addclass() function,that's easier,better and faster way smile
AdminDan
Posts: 46
Reputation: 5

Message # 11 | 10:18 AM
belmo996, Why would you say that I'm not the author ? Since, you are a web developer write it down for me again , so I can use it myself too on my website . I would really use help from a developer. What do you want me to specify ? Where ?

Show me how to use the .addclass() function please.

Visit and Register with our website now !![ Looking for Posters and up-loaders ]
http://www.tinymb.com
CodeResolution
Posts: 1570
Reputation: 58

Message # 12 | 10:53 AM
AdminDan, if you was the author you would know how to use the .addclass() function already - as it is very basic JavaScript programming. Please credit any authors in the future. But still thank you for sharing.

If belmo996 is happy to assist and discuss with you regarding updating the script, please use the private messaging feature smile

Kind regards,
Elliott.

"The best uCoz" critic since 2007.
Qualified website, branding, print & user interface designer.

I'm on Behance and Twitter.
Post edited by CodeResolution - Friday, 2013-03-22, 10:54 AM
AdminDan
Posts: 46
Reputation: 5

Message # 13 | 1:18 PM
CodeResolution, belmo996, Paradox,

I guess the forum needs to start appreciating people who try to help and share good info which in-turn will amplify their website. But I believe , if it's all about pointing out errors and showing superiority then it makes no sense.

All I posted is been tested on my site and then added here. I don't add random stuff from the internet. Also, the CSS has been modified a little by me while it was in use on my site. I paste the same stuff. Wherever , necessary I have added description. If still you find issues then I better stop. I don't mean to be aggressive or dominant or offensive here.

But Thank you all.

Visit and Register with our website now !![ Looking for Posters and up-loaders ]
http://www.tinymb.com
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 14 | 2:38 PM
Quote (AdminDan)
I guess the forum needs to start appreciating people who try to help and share good info which in-turn will amplify their website. But I believe , if it's all about pointing out errors and showing superiority then it makes no sense.


Okay. Let's break this down before it gets any further... We're not pointing out errors if we want to get technical with this. We're doing our best to give constructive (meaning good/positive) criticism of where you could improve this script in regards to both processing efficiency and readability. You have refused to acknowledge any assistance claiming that the script is faultless where you have 3 considerably well-versed web developers doing our best to let you know otherwise in a constructive manner.

Basic programming principle defines that just because something works, it doesn't mean it's the most efficient or technically correct method of getting there. A script (or markup) will always have room for improvement as standards are updated, and technologies are developed further. This doesn't mean that the existing script has errors, however it does mean that it has room for improvement. HTML tags are deprecated in version updates in the same manner due to this.

As to your comment about 'showing superiority' maybe you should take a step back off your soapbox and look around. No one here has showed superiority, belmo/CodeRes have only given reference to their background as web developers to assist in the understanding of the expert opinions provided (expert opinions is a subjective term used to describe someone with a form of understanding on a particular topic). Yes, I do hold a position here on the forums and therefore have to perform the responsibilities that are entrusted to me under this title - that is as far as it extends however.

Apart from that we're not finding 'issues' as such. We're offering feedback on how to improve the scripts efficiency/readability/functioning. You must understand it's all in good nature and we're only giving suggestions on how to improve it so that it's effective and efficient without deprecating itself before it's on a site. The implementation method is also considerably important here online as you don't know when your sites server may go down. It wouldn't be beneficial for 2000 users on a separate server to make use of a script hosted externally if your sites server went down for 48hrs - it creates widespread difficulties for multiple sites instead of remaining an isolated issue.

Anyhows, all in good nature. Just thought I'd explain before anyone got too edgy about things. smile

Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
AdminDan
Posts: 46
Reputation: 5

Message # 15 | 3:18 PM
Paradox, I wasn't edgy. I was ripped by all showing me what to do . Like I said earlier I never do Forums so often it takes time.I give support on many sites and to many site owners directly as they contact me. I still added many constructive scripts and codes that would help people. These codes are all simple ones with less to do. Hosting on external sites is another issue. I will see what can be done . Giving feedback and suggestions has a way to it. Not by using words like " your not the owner " " You need to understand how to describe ".

In future if you want to give suggestions or feedback or even be aggressive on people do it on a PM please. Not insulting and teaching in an open forum.

Thanks.

Visit and Register with our website now !![ Looking for Posters and up-loaders ]
http://www.tinymb.com
uCoz Community » For Webmasters » Custom Solutions » Light hint for ucoz (This script will show a Hint or a Tip at mouse hover)
  • Page 1 of 2
  • 1
  • 2
  • »
Search: