I want to load static web page from resource and to display it as dialog, not like its loaded in internet explorer but like dialog without any menus or borders if possible.
I want to use this page as "GUI", pretty crazy idea yes.
Someone can explain me how to achieve this ? (I dont want any dependencies on my executable).
Thanks in advance.
You can use a webbrowser like this:
http://www.adp-gmbh.ch/win/misc/mshtml/index.html
http://support.microsoft.com/kb/315617/es
Related
I want to display lots of images . Which wx widget is best for this purpose?
Please click here to see the desired GUI. Also if panel is to be used then how to attach a scrollbar to the panel.
Any sample code/reference would be highly appreciated.
I would look into ThumbnailCtrl.
Just play with the example provided in the link. Put the script in a folder containing images and then run it to see it in action.
I found a few similar topics however none specific to my issue. I went to create a like button code, I clicked the create like box, added my link http://www.facebook.com/pages/SpartaPerformancecom/248083571902684 to the URL formated the like button how I want it to appear. Then I opened Dreamweaver and pasted the Facebook code in the Dreamweaver HTML code where I want the Like button to appear but I get nothing. Please respond like "coding for dummies" language so I can understand how to solve my issue. Thanks in advance.
Make sure you add <div id="fb-root"></div> somewhere between the <body></body> tags. Their latest like button generator is missing that part.
On one of my pages I'm showing about 60 items I would like to be "likeable" via facebook. The problem is that I can not use several pages to show the items since this would reduce the usability of the page. But when loading / showing 60 like buttons is just too much for my browser. The page is not usable anymore because even scrolling takes several seconds because of the impact of showing 60 likte buttons.
Does anybody know of an alternative way of using the like button? Would it be possible to build a custom like button which loads the like count from my local database and somehow triggers the facebook like mechanism when the user clicks on my own like button?
This could be done by building a custom like button which on click loads the real like button, hides it and automatically triggers the click on the real like button? Would this even be allowed or is forbidden by the facebook guidelines? If that is the case, is there any other way?
Best regards,
Daniel
Use a placeholder image and load them lazily via javascript when the user hovers on it. That's what Techcrunch does.
There are a few things you can do here that may speed up load times:
Make sure you're only loading the JS SDK once - the latest code from the Like button configurator takes care of this for you.
Load the JS SDK asynchronously, as described on the JS SDK overview page
Use the XFBML version of the Like button
You should use xFBML version of Like button and load the SDK asynchronously.
http://developers.facebook.com/docs/reference/javascript/
You cannot trigger the click of a like button in javascript.
You can however, hide the like button until the user hovers over the like button and create it then.
Something like this might be helpful:
http://www.reddit.com/r/programming/comments/k6kzy/german_publisher_heise_creates_a_privacy/
When I click on "Recommend" the window which button opens is hidden (unvisible) behind the footer.
Actually I've got screenshot to explain it precisely: http://www.diigo.com/item/image/1q1ia/tw30
Of course it's XFBML, because I know problem like this can be found when iframe. Any idea how to fix it?
My weblog address is http://www.votre-site-internet.com/ if you want to check it out by yourself.
Thank you in advance,
Piotr Sochalewski
If you are using FBML, I would look into your CSS z-indexes. I would suggest bumping up the z-index where the like button is.
Right now I am displaying the result in QTextBrowser. Results will be something like /home/User/, /media/Arena/ etc i.e path to different folders. Now I want to open the folder in a window by clicking on this result which is displayed in QTextBrowser. But I have no ideas how to do that. So can anyone let me know how to do it.
Thanx in advance.
P.S. I am using QtCreator & see the image http://i53.tinypic.com/qyxp1s.png.
can you insert html rather than plain text into the QTextBrowser widget? then you can use a URL to describe the paths.
BasementCat's right. You can use setHtml QTextBrowser's method to set HTML into the widget. You'll then probably need to call setOpenLinks(false) to disable default behavior and connect custom slot to widget's anchorClicked(QUrl const&) signal to handle links.