Any Way to display HTML pages on Applet
Hi All,
Is there any way to show web pages on Applet?
Is it possible ?
I am not aware of a simple way to display HTML in an applet. However, I have used the JEditorPane to display HTML documents. Handling links, etc. with this component requires some effort. Also requires Swing.
Have you considered using the applet to display a page on the browser. (i.e. getAppletContext().showDocument(URL, [frame name]))? Just an idea.
Good luck.
Similar Messages
-
Is there any way to display JTree without using applet
Hi,
is there any way to display JTree without using applet . Can we display the JTree in a JSP page.
With Regards,
Sheema.Not a JTree, per se. But there are Javascript solutions out there and there are JSP tag library solutions which use a JTree on the server side to hold and maintain the data and expanded nodes.
This is one that I've used before, it's pretty good:
http://www.jenkov.dk/treetag/introduction.tmpl -
Is there any way to display document page numbers and section page numbers at the same time?
Hi, I have different sections within my document starting the page numbering at 1. Besides the section page numbers I would also like to display the actual document page numbers in the header (eg. you are on page 10 of the document and page 4 of the section). Is there any way to do that? Thanks
You can maybe use the Find/Change
Command+i
See if that can work for you.
But like Steve said it is good practice to use Paragraph Style whenever you have lots of Type, I just get lazy sometimes.. lol
Thanks -
Is there any way to have the page title NOT be the name of the HTML file
You might want a page title to be say "Digital Media Academy." You don't however really want the html file to be called "Digital%20Media%20Academy.html" Windows web browsers often have problem opening pages with spaces in the file name. On the other hand you don't really want the page title to be "DigitalMediaAcademy" because that looks kind of dumb. Any way around this.
The page is already not included in the nav bar, but
where do you set the page name to be different from
the file name? How can I set the name of the page,
such as the name of this page is "Apple - Support -
Discussions - Post Message:Reply," to be different
from the file name?
I think I probably misunderstood your question. You want the html "title," which appears at the top of a browser, to be independent of the name of the html file, right? I don't think that is possible in this version without manually editing the html after publishing. iWeb uses the page name given in the inspector for both the navigation bar link and the file name, replacing spaces by %20 in the latter because web servers don't allow spaces in file names. -
Any way to display a message when Flash is not found on the iPad?
Apple is obviously rejecting Flash to protect it's 'App' revenue. I've been on Android phones that run Flash and display all my content perfectly smooth. It can be quite frustrating how they are trying to bury it when I still have yet to see HTML5 replicate the type of interactive content Flash is capable of producing.
Is there any way to display a message on the iPad when the Flash player is not found?
I'd like it to says something along the lines of:
"Unfortunately the Apple iPad does not support the Flash player because their business interests do not want it taking away from their App revenue.
Did you know that the Dell Streak, HTC Flyer, Blackberry Playbook, Motorola Xoom, Samsung Galaxy Tab, Toshiba Thrive, and HP Touchpad all support the Flash player?"
My HTML code looks something like this...
<html>
<head>
<title>My Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#ECECEC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<body onresize="setFlashSize()">
<div id="flashid" style="width:100%; height:100%;">
<script type="text/javascript" language="JavaScript">
function setFlashSize(){
var viewportheight = document.body.clientHeight;
var viewportwidth = document.body.clientWidth;
var mydiv = document.getElementById("flashid");
var styleheight = parseInt(mydiv.style.height);
var stylewidth = parseInt(mydiv.style.width);
if (viewportwidth<880){
document.getElementById("flashid").style.width = 880+"px"; }
else {
document.getElementById("flashid").style.width = 100+"%";}
if (viewportheight<760){
document.getElementById("flashid").style.height = 760+"px"; }
else {
document.getElementById("flashid").style.height = 100+"%";}
setFlashSize();
document.write('<object data="index1.swf" width="100%" height="100%" type="application/x-shockwave-flash">');
document.write('<param name="movie" value="index1.swf" />');
document.write('<param name="allowScriptAccess" value="always" />');
document.write('</object>');
</script>
<noscript>Javascript must be enabled to view Flash movie</noscript>
</div>
</body>
</html>Use swfobject for Flash detection and you can provide all kinds of alternate content... simple text, images, links, .js slideshow, a mov or mp4 video just for the iPhone... ANYTHING this is regular HTML. Your imagination is the only limit.
And YES, HTML5 is a far cry from replicating Flash... so give them the best of both worlds.
http://code.google.com/p/swfobject/
Review this article which deals with Flash and SEO for more ideas:
If you think that Flash is somehow bad for SEO, it's time to dispell that MYTH!
If fact, in some circumstances I'll use Flash INSTEAD of just HTML because then I'll have better SEO than with just HTML alone.
http://www.worldbarefootcenter.com/
The link to World Barefoot Center in the above post is just one example. View the source code and you see a couple paragraphs of text along with regular HTML links.... but what displays is the Flash version of the image and Flash links.
The client provided the artwork for the page... and that's what they wanted to use a .jpg image. Well yes, that could be done in HTML but it would be virtually invisible to Google. So Instead I converted the image into a Flash .swf and used swfobject to display the Flash. swfobject allows you to create alternate content inside the <div> which also holds the Flash .swf, then when the page is loaded it detects if the browser has the Flash pluggin. If it does, it displays just the Flash content, if not, it displays the alternate content. Since almost everyone has the Flash pluggin, for most people the Flash version of the <div> will display.
The alternate content for that <div> can be any regular HTML text, images, media player, links, etc., anything that you would use if you were not using the Flash. Now the best part is that the alternate content can be "over the top" as far as optimizing for SEO, since it will not be seen by most viewers.
Here's another example of SEO with Flash.. again, the page is just a single image provided by the client:
http://www.ksowetsuits.com/
View the source code. The alt content is paragraph after paragraph of information about the site, including lists and links. If it was just the HTML, it might be kind of a boring Home page. But for SEO I can go "over the top" in promoting the site, since most viewers will never see that part... but it's all indexed by search engines. The end result is BETTER SEO using Flash than just HTML.
On another Web site, a Flash video is displayed, the alt content is the complete text narration of the video. Now how many people would take the time to read that if they could just watch the video instead?? again, better SEO with Flash than without. In fact in one case we had first page search result from that video narration within 4 hours of posting the page.
On still another site with a Flash video, the alt content is another video, but a .mov version, which will, in effect play Flash video on the iPhone (not possible you say??). Well since the iPhone does not have Flash pluggin, it simply displays the .mov version of the video, while everyione else sees the Flash version.
So anyway, if Flash is a part of your Web development, you should look into using swfobject and alternate content.
http://code.google.com/p/swfobject/
Best wishes,
Eye for Video
www.cidigitalmedia.com
Adninjastrator -
Any way to display dorpdown menu over quick time player
hi all,
Is there Any way to display dorpdown menu over quick time
player in Dynamic HTML page like the flash parameters wmode
transparent....The menu and quick time is different Td's
ThanksNot that I know of.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"jibysk" <[email protected]> wrote in
message
news:ff9rjk$i6l$[email protected]..
> hi all,
>
> Is there Any way to display dorpdown menu over quick
time player in
> Dynamic HTML page like the flash parameters wmode
transparent....The menu
> and quick time is different Td's
>
> Thanks -
Is there any way to delete a page listing on the top of the IWeb site. I created a page which has links to the other pages, so I don't need all of them listed on top...
Better ask in the iWeb forum.
Answer : inspector > first icon from the left > uncheck 'Display navigation menu'
For future reference, also look at the other icons. -
Any way to HIDE the Pages "Backup" filenames in iCloud document listing?
The "Backup" files are annoying to see in iCloud.
Any way to HIDE the Pages "Backup" filenames in the iCloud document listing at the Open dialog?No, there isn't what you are looking for. Maybe someone else have a work around.
Download the Pages User Guide by going to the Help menu in Pages. there you see what you can do. -
Is Pages 5.0.1 is there any way to link one Pages document to another Pages document? If so, Please, How?
Well, you could trade it in for a white one!
First, try a system reset. It cures many ills and it's quick, easy and harmless...
Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo. Ignore the "Slide to power off" text if it appears. You will not lose any apps, data, music, movies, settings, etc.
If the Reset doesn't work, try a Restore. Note that it's nowhere near as quick as a Reset. From iTunes, select the iPad/iPod and then select the Summary tab. Follow directions for Restore and be sure to say "yes" to the backup. You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod. Again, say "yes." -
Help! I reinstalled my Mac and erased my iWeb page in the program.Its published, is there any way to download the pages from Mobile Me?
To download your pages from MobileMe simply mount your iDisk.
Then navigate to the Web > Sites folder where the pages are.
You can't do anything with them however, since iWeb cannot import them. But it's nice to know that you can download them.
You need the domain.sites2 files, iWeb uses to store its assets. Perhaps you have a backup?
See this page for pictures and movies to learn how to use the domain file :
https://discussions.apple.com/thread/3862332?tstart=0 -
Is there any way to make the page size of a PDF document smaller? I'm at 30"x36" and want 8.5"x11"
The quickest way is to print to a new PDF and use shrink to fit. Be sure you set the paper size in the printer properties. Normally this is not recommended, but it is a quick approach. You would loss any bookmarks and other markup with the print.
-
Is there any way to display filenames or captions for photos?
is there any way to display filenames or captions for photos?
Thanks. There are so many it's very hard to see which one does what. Since I edit on the MacBook Pro using Photoshop Elements, all I really need is a way of seeing the filenames, and secondarily re-arranging thumbnails on the iPad screen manually.
-
Can I display html pages in flash player
Hi all,
Can I display html pages in flash player, i mean swf. Plz
help me if it can be done. Can I call html pages in flash (i mean
in flash player no new window)
Thankshi,
Actullay i want the site to be opened with in the flash
player, just like iframe in dreamweaver calling the external site
in the mail html page. Plz Help me accessing external site page
with in flash player
Thanks -
How to display HTML pages always in first rank in search result?
I have a sharepoint 2010 site where search is configured, but when it is displaying the search result some time it is showing the pdf files in the first order and the html pages in the second order, I need to display html pages always
in the first order.How can I accomplish it?Alex's link is by far the best one but this is an alternative if you wanted to read a bit more widely
http://sharepointkaos.wordpress.com/2011/01/13/custom-ranking-model/
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
Displaying HTML page when server is unavailable
Hi,
I would like to display the static html page when the server is down. For example when server maintanance is going on I would like to display html page with information
Please let me know what is the process to achive this.
ThanksYou might also want to check Custom Error pages:
http://help.sap.com/saphelp_nw70/helpdata/EN/9a/e74d426332bd30e10000000a155106/frameset.htm
Regards,
Siddhesh
Maybe you are looking for
-
Questions about upgrade from iphone 3gs to iOS4.
hello. Anyone of you guys know that if my current 3gs is upgraded to the new iOS4, can all my apps from 3gs be able to work on the new iOS4? Also is the battery features from the iOS4 apply on my current 3gs? thanks!
-
My I phone 4 S was on & now off.,
My I phone 4 S was on & now off., fully charged and it just went compeletely off. I can't turn it on or when I plug it in with charge cord, nothing happens. What can I do...any suggestions?
-
Hello, I have an Italian company I am working with, and when they sell product to other EU countries, they need the VAT to post in the input account as well as the output account. In our instance it's 2113 for Input and 2118 for output. I've tried p
-
Business Rules security from EAS throwing error while adding locations
Hi, Currently we are trying to provide security to the BR's from EAS. As a part of which, we are trying to add location to the BR's. When we expand the Planning node on Locations, it throws the error, "Cannot connect to the Planning server <server na
-
OS 2.1 Bug with CGAffineTransform and Views?
Anyone get any complaints about shifting images in OS2.1? I use [[rootViewController view] addSubview:[holdemController view]]; CGAffineTransform rotate = CGAffineTransformMakeRotation(1.57079633); rotate = CGAffineTransformTranslate (rotate, 80.0, 8