View Single Post
  #6  
Old 12-14-2014, 06:56 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 128,813
Kyttias is on a distinguished road
Default

I could probably get these tooltips to work? They're mobile-friendly, anyway. If you want tooltips in other areas of your site, then I can direct you where to save the files. ^^ Or if not, I can include them all in this one page.

I couldn't seem to find a pure-Javascript version (I didn't have much time to scour the net for a mobile-friendly pure-Javascript version). The jQuery version works just fine, you'll just also need the jQuery library. My Bootstrap theme comes with it, but I don't know that any of the default themes do, or if you included it while building your own. Let me know if you don't have it and I can either help you put it in or find an alternative. (There's a discussion to be had on whether the jQuery library is too big for mobile browsing, my general conclusion is no, it's not too big. And it'll only have a delay in loading the first time, not every consecutive time. And linking the same copy from the same content delivery network, CDN, that Google/YouTube/other major sites use means there's a chance the users will already have the jQuery library already cached, so there won't be delay at all.)

Do you have any requirements for things you want the NPCs to say? The same thing every time? Or a random thing from a list of several possible things (it can be random for each individual store, that's how I'm doing it)?
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.

Last edited by Kyttias; 12-14-2014 at 07:06 PM.
Reply With Quote