11-16-2011, 05:42 PM
Hi Gintaras,
I have been using a jquery/jscript like button maker from Likno
http://www.likno.com/web-button-maker/index.html
for the bitmaps to use for my qm dialog buttons. I don't get any of the hover-effects but the buttons are pretty (color gradient, fonts, etc).
However, I see on their site that they have software for all sorts of tabs, menus, modal dialog windows, etc., based on jquery.
http://www.likno.com/jquery-tabs/index.php
I was wondering if it was possible to incorporate these into qm dialogs for tabs/buttons, etc. I know that the jscript has to run in a browser window but don't know what kind of magical dialog browser windows could be used for this type of thing.
I tried something like this using some sample html/jscript from the software to test but it failed (see below)
Any thoughts on this or is this a dead-end? Is there anything out there in the Windows world instead of html world that could be incorporated more easily with QM. I am not a graphic designer so it would be great to use some slick work that's already out there to spruce up my qm dialogs.
Stuart
Macro Macro25
I have been using a jquery/jscript like button maker from Likno
http://www.likno.com/web-button-maker/index.html
for the bitmaps to use for my qm dialog buttons. I don't get any of the hover-effects but the buttons are pretty (color gradient, fonts, etc).
However, I see on their site that they have software for all sorts of tabs, menus, modal dialog windows, etc., based on jquery.
http://www.likno.com/jquery-tabs/index.php
I was wondering if it was possible to incorporate these into qm dialogs for tabs/buttons, etc. I know that the jscript has to run in a browser window but don't know what kind of magical dialog browser windows could be used for this type of thing.
I tried something like this using some sample html/jscript from the software to test but it failed (see below)
Any thoughts on this or is this a dead-end? Is there anything out there in the Windows world instead of html world that could be incorporated more easily with QM. I am not a graphic designer so it would be great to use some slick work that's already out there to spruce up my qm dialogs.
Stuart
Macro Macro25
str js=
;<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
;<html xmlns="http://www.w3.org/1999/xhtml">
;<head>
;<meta http-equiv="X-UA-Compatible" content="IE=9"/>
;<title>Likno Web Tabs Builder - Sample Web Site</title>
;<link rel="stylesheet" type="text/css" href="global.css" />
;</head>
;<body class="page">
;
;<!-- ******** BEGIN LIKNO WEB TABS CODE FOR likno-tabs-project ******** -->
;<script type="text/javascript">var lwtbLinkedBy="LiknoWebTabs [1]",lwtbName="likno-tabs-project",lwtbBN="206";</script><script charset="UTF-8" src="likno-scripts/likno-tabs-project.js" type="text/javascript"></script>
;<!-- ******** END LIKNO WEB TABS CODE FOR likno-tabs-project ******** -->
;
;
;;;;;<div id="wrapper">
;;;;;;;;;<div id="section1"><h1 class="heading1">Likno Web Tabs Builder - Sample Web Site (using tab control)</h1></div>
;;;;;;;;;<div id="section2">
;;;;;;;;;;;;;<p class="text">Page content here... Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
;;;;;;;;;;;;;<p class="text"> </p>
;;;;;;;;;;;;;
;<div class="liknotabs_header" style="display: none;">
;;;;;CT
;</div>
;<div class="liknotabs_header" style="display: none;">
;;;;;MR
;</div>
;<div class="liknotabs_header" style="display: none;">
;;;;;PET
;</div>
;<div class="liknotabs_body" style="display: none;">
;;;;;<p>Here is the text of the <b>first tab body</b>.</p>
;;;;;;<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
;</div>
;
;<div class="liknotabs_body" style="display: none;">
;;;;;<p>Here is the text of the <b>second tab body</b>.</p>
;;;;;;<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
;;;;;;<p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
;</div>
;
;<div class="liknotabs_body" style="display: none;">
;;;;;<p>Here is the text of the <b>third tab body</b>.</p>
;;;;;;<p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
;</div>
;;;;;;;;;;;;<p class="text"> </p>
;;;;;;;;;;;;<p class="text">More page content here... </p>
;;;;;;;;;;;;<p class="text">Donec nec justo eget felis facilisis fermentum. Aliquam porttitor mauris sit amet orci. Aenean dignissim pellentesque felis. Suspendisse mauris. Fusce accumsan mollis eros. Pellentesque a diam sit amet mi ullamcorper vehicula. Integer adipiscing risus a sem. </p>
;;;;;;;;</div>
;;;;</div>
;;;;
;</body>
;</html>
int hwnd = win("Dialog")
web js 0 hwnd