ripken204 Posted February 5, 2005 Posted February 5, 2005 when i put the mouse over the install,exit, opition, etc. buttons, a box shows up telling me what the button does- how do i get rid of this?
Dynaletik Posted February 6, 2005 Posted February 6, 2005 Just go to your lang.js in the wpiscript sfolder and edit it.So the lang.js looks like this for english:ttInstall[lang] = ['Begin Installation','Initiates the script generator<br /><br />Click this to begin generating the install script.'];ttExit[lang] = ['Exit Button','Closes this application<br /><br />If you want to stick to the application defaults, press this. Minimal updates and applications will be installed. This includes Windows XP security updates.'];ttHelp[lang] = ['Help','Displays basic usage, version information, and disclaimer.'];ttSelectAll[lang] = ['Select All','Click this will select all available options.'];ttSelectNone[lang] = ['Select None','Click this will deselect all available options.'];ttSelectDefaults[lang] = ['Select Defaults','This option will enable the default recommended options.<br /><br />Click if you only wish to install basic recommended options.'];ttOptions[lang] = ['Options','Customize your WPI.'];ttConfig[lang] = ['Config','Configure your programlist.'];ttSource[lang] = ['Show Source','Shows the Sourcecode of WPI.'];If you want a button not to have a tooltip, just delete the explanation.For the beginn install button it would bettInstall[lang] = ['',''];So change this line for english (and for the language you use)But then you still have a small box with no content...**** You know what I mean??
Retestrak Posted February 8, 2005 Posted February 8, 2005 hmmm surely there must be a way to get rid of that tiny box too ?anybody figured this out yet ?
codeblue Posted March 3, 2005 Posted March 3, 2005 Not sure if this is the right way to get rid of the tool tips, but i deleted the first batch of script in the main.js in the common folder and no tool tips.this is what i deleted:if(sNav) { window.onresize = ReloadTip document.onmousemove = MoveTip if(nn4) document.captureEvents(Event.MOUSEMOVE) } if(nn4||nn6) { mx = "e.pageX" my = "e.pageY" scl = "window.pageXOffset" sct = "window.pageYOffset" if(nn4) { obj = "document.TipLayer." sl = "left" st = "top" ih = "clip.height" iw = "clip.width" vl = "'show'" hl = "'hide'" sv = "visibility=" } else obj = "document.getElementById('TipLayer')."} if(ie4||ie5) { obj = "document.all.TipLayer." mx = "event.x" my = "event.y" scl = "eval(doc_root).scrollLeft" sct = "eval(doc_root).scrollTop" if(ie5) { mx = mx+"+"+scl my = my+"+"+sct }}if(ie4||dom){ sl = "style.left" st = "style.top" ih = "offsetHeight" iw = "offsetWidth" vl = "'visible'" hl = "'hidden'" sv = "style.visibility="}if(ie4||ie5||ps>=20020823) { ww = "eval(doc_root).clientWidth" wh = "eval(doc_root).clientHeight"} else { ww = "window.innerWidth" wh = "window.innerHeight" evlh = eval(wh) evlw = eval(ww) sbw=15}Im also not sure if this will effect another part of WPI. Can somebody confirm that this is/nt the right way to remove tool tips.
blinkdt Posted March 12, 2005 Posted March 12, 2005 I removed the tooltips associated with the install,exit, opition, etc. buttons long ago. If I recall correctly, you need to edit the .hta file directly, removing references to the tooltip script. Here's my edited "default" button:<!-- The DEFAULT button --><img src="./graphics/spacer.gif" width="25px"><a href="" onmousedown="document.defaultsbutton.src='./graphics/check.gif';" onmouseover="document.defaultsbutton.src='./graphics/checkover.gif';" onmouseout="document.defaultsbutton.src='./graphics/check.gif'; htm()"><img src="./graphics/check.gif" align="absmiddle" class="mainbtn" border="0" name="defaultsbutton" onClick=check("def",stopInterval())></img><font class="side" onClick=check("def",stopInterval())><b><script>document.write(getText(lblSelectDefaults));</script></b></font></a> No tooltip. In all humility and no insult intended, a basic knowledge of HTML and the ability to tweak javascripts is required if you plan on customizing this fine app to your heart's desire. No way around it.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now