HTML code question
Frontpage had a built in feature for what MS called
Bookmarks. Another reference was anchors. It was just a way to add
a hyperlink that took you to a specific location on the page. Does
DW have anything built in like this or do I just have to code it by
hand?
Use DW's F1 Help to read about "named anchors".
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
==================
"kent909" <[email protected]> wrote in
message
news:geihl6$9g3$[email protected]..
> Frontpage had a built in feature for what MS called
Bookmarks. Another
> reference was anchors. It was just a way to add a
hyperlink that took you
> to a
> specific location on the page. Does DW have anything
built in like this or
> do I
> just have to code it by hand?
>
Similar Messages
-
What html code will start an EXE (program) with a click on a webpage link?
The code in bold below worked. After I switched my browser from IE 11 to Firefox to get the hover on hotspots to work, the program gave me this error message. I moved the EXE file to my local file folder and tried it as shown below. Still no success. Any suggestions?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Family Tree Charts</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><style type="text/css">
<!--
body,td,th {
color: #000;
-->
</style></head>
<body link=blue vlink=blue>
<table width="100%" height="25" border="0" cellpadding="4" cellspacing="0">
<tr>
<td width="93%" height="27" bgcolor="#EFEFEF"> <div align="center"><font color="#999999">
<b>This Software Allows You To Review Neat Charts of Your Family Tree </b></font></div></td>
<td width="7%" bgcolor="#CCFFFF"> <div align="center"><A href="Mementos_Menu.html"><font size="2">Back</font></a></div></td>
</tr>
</table><BR><center>
<br>
<FONT color=#ff00ff><strong>Click the link below to download a special software program for your PC.</strong></FONT><br>
<br>
<a href="http://jdmcox.com/"><strong>Cox Website</strong></a><br><br>
<strong>ITEM 1</strong> (AT THIS WEBSITE) IS THE <strong>FAMILY TREE CHART</strong> PROGRAM.<br>
It is called <strong>Simple Family Tree</strong><br>
<table width="80%" border="2" cellspacing="2" cellpadding="2">
<tr>
<td width="49%" align="left" valign="top"><FONT color=#ff00ff><strong>Click the link below to use this special software program after you download and install the program.</strong></FONT><br>
<br>
<!--<a href="C:\Program Files (x86)\Simple Family Tree\Simple Family Tree.exe"><strong>Family Tree Charts Program by Doug Cox</strong></a><br><FONT color=#ff00ff>
-->
<a href="C:\Users\Tom and Polly\Documents\Genealogy CD\Simple Family Tree\Simple Family Tree.exe"><b>Family Tree Charts Program</b></a><br><br>
<FONT color=#ff00ff><strong>Click the "run" button for both warning messages.<br>
Click the "READ THIS!" menu option when the program opens.<br>
Click "X" in the upper right to close the program.<br><br>
You can update the family data in future years with this program too.</strong></FONT>
<br></td>
<td width="51%" align="left" valign="top"><FONT color=#ff00ff><strong>NOTE 1: Be sure your HTML code for this webpage has a proper line to link to the location where the software was installed. You can use NOTEPAD to make HTML code changes. My existing line is: </strong></FONT><br>
"c:\<u>program files (x86)</u>\simple family tree\simple family tree.exe"<br><br>
<FONT color=#ff00ff><strong>The underlined portion will need to agree with where the program was installed. Just change the directory (see underlined sample above). Good luck. If I am still living, call me.<br><br>
NOTE 2: After you download, install, and try to use the program, you may get an error message window that looks like this -"0 FAMS @F191 @ FAM". This means you have an individual record in your GEDCOM file that does not have a parent. Be sure all GEDCOM records have at least one parent even if you must name the parent UNKNOWN.</strong></FONT></td>
</tr>
</table>
<br></center>
<table width="100%" border="0" cellpadding="2" cellspacing="0" bgcolor="#CCCCCC">
<tr>
<td bgcolor="#EFEFEF"> <font size="2">©2002 Sales and People</font></td>
</tr>
</table></body>
</html>Herbert:
Here is my latest code attempt, but I get messages about the lines in BOLD that I do not understand.
Perhaps you will see what I need to fix. Sure appreciate what you have found and shared with such a neophyte (aka dumbo).
Tom
<!--
body,td,th
-->
function RunExe(path) {
try {
var ua = navigator.userAgent.toLowerCase();
if (ua.indexOf("msie") != -1) {
MyObject = new ActiveXObject("WScript.Shell")
MyObject.Run(path);
} else {
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
var exe = window.Components.classes['@mozilla.org/file/local;1'].createInstance(Components.interfaces.nsILocalFile);
exe.initWithPath(path);
var run = window.Components.classes['@mozilla.org/process/util;1'].createInstance(Components.inteinterfaces.nsIProcess);
run.init(exe);
var parameters = ["/c start Simple Family Tree.exe"];
run.run(false, parameters, parameters.length);
} catch (ex) {
alert(ex.toString());
This Software Allows You To Review Neat Charts of Your Family Tree
Back
Click the link below to download a special software program for your PC and your GED file.
*Cox Website*
ITEM 1 (AT HIS WEBSITE) IS HIS FAMILY TREE CHART PROGRAM.
It is called Simple Family Tree
Click the link below to look at my GEDCOM file contents.<br>Instructions are provided in the READ THIS menu option at the top of the window.
*Show Yarnall Chart*
*Return to this webpage by clicking on the backarrow after looking at the chart.
You can update the family data in future years with this program too.*
©2002 Sales and People
Date: Thu, 2 Jan 2014 02:09:18 -0800
From: [email protected]
To: [email protected]
Subject: What html code will start an EXE (program) with a click on a webpage link?
Re: What html code will start an EXE (program) with a click on a webpage link?
created by Herbert2001 in Dreamweaver support forum - View the full discussion
Perhaps this might be helpful:
https://addons.mozilla.org/en-US/firefox/addon/opendownload-10902/
It allows executables in Firefox to be run - it is an extenstion, though, so it must be installed in Firefox before your page will work.
Another option is this solution, but it will still require a manual change in Firefox:
http://forums.mozillazine.org/viewtopic.php?f=19&t=803615
Or this: http://stackoverflow.com/questions/6472435/running-exe-in-firefox-why- do-i-get-an-error
However, you will still have problems with getting it to work cross-browser. Honestly, browsers are not supposed to have access like that to the client side file system, which absolutely makes sense for the web.
That is why you may have to approach the solution from a different angle - perhaps create a server side cloud version of your application(s) which can be easily accessed and run by your family members. I believe you used C to develop the applications? Although I have no experience with this framework, Wt might be a solution to convert your projects to server side applications:
http://www.webtoolkit.eu/wt
Good luck!
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5972893#5972893
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5972893#5972893
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5972893#5972893. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Dreamweaver support forum at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0. -
Web Intelligence: Save Report as PDF and with embedded HTML code
Hi all.
Sorry but I'm not able to find any post about this matter, please feel free to provide links if you know existing topics about this problem.
We created a beautiful report with HTML5 code embedded into a blank cell and we are now trying to export it in a printable format (e.g.: PDF or HTML).
As you know (as per manual information) it is not possible to export a report with embedded HTML code and keeping it in the output (cell with embedded HTML code is rendered blank).
My question is: is there a known workaround or an alternative solution to export the report and keep its content?
Print screen is not a valid option :-P
Thanks for the support or any suggestions
StecasProduct limitation; vote for change on ideaplace, etc. I don't believe there is an *easy* workaround, but see:
https://scn.sap.com/thread/3149287
HTH
NMG -
Paste html code into dreamweaver 8
I'm creating my 1st website in Dreamweaver 8, and am trying
to include a photo gallery. I haven't got as far as learning Flash
yet, but Ive found a piece of html code that will do what I want
and am now trying to place it on my dreamweaver file. I don't know
how to do this though, can anyone help please?
Many thanks
Nici think maybe you have answered your own question in your
title.
simply copy the html code from where ever it is and paste it
into your DW page. paste it in using the code view though not the
design view in DW.
if your not sure where abouts to paste it in the code view
then just go to design view and with your mouse select with one
click on the area of page that you want the gallery to go, for
example in the right cell of your table. then go back to code view
and you'll see that the curser will be in the right place - then
paste!
hope this helps
zac -
How to add a comment in a php file which has html code
Hi
I have a html file which I renamed .php after adding a form. I discovered that the html comment text I was using - <!--this is a comment --> - was affecting how the page rendered, particularly in IE9.
My question is, now that it is a php file do I need to change all the comments syntax? I started to do it using the "apply comment" button in CS5 i.e. syntax: <?php /*?>form<?php */?>.
Is this the right way to do it? It gives "php" icons in design view but appears to render ok.
ThanksPHP comments:
<?php
//This is a comment
This is
a php comment
block
?>
Use PHP comments inside PHP scripts/code.
HTML comments:
<!--comment-->
<!--this is
an html comment
block-->
Use HTML comments inside HTML code.
CSS Comments:
/*comment*/
/*this is
a css comment
block*/
Use CSS comments inside CSS code (either embedded or external).
JavaScript comments:
//this is a single line comment
//this is another single line comment
/*this is a multi-line
javascript
comment
Use JavaScript comments inside JavaScript code (either embedded or external).
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Help with some html code for flash site!
Got this site>
http:/www.thedesignport.com
Site works great! everything is uploaded! What I cant seem to
get workning is the html code to add a description under the title
of the website in a google search? Goto google enter "topanga
mountain school" I'm top spot on the second page but with NO
description?? have a look at the html code for
http://www.thedesignport.com
Have I gone wrong somewhere?? But I've found if you put
"topanga mountain school pdf" into google ( I have three pdf's on
the site) My site is Second on the search with a DESCRIPTION of the
pdf's under the site name?? I dont get it?? Any help would be
great!You're not getting any help here because this is the forum for discussions of the Community Help Client application and Help system in general. For CSS questions, you should probably try something like the Dreamweaver forum.
-
''locking as a duplicate - https://support.mozilla.com/en-US/questions/783107''
My website is not working correctly, pictures, menus etc..
As webmaster I made my website, in IE everything works correctly but with Firefox not.
Must I put something in my HTML-code so everybody who use Firefox see my website correctly?
Thanks.Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
http://forums.mozillazine.org/viewforum.php?f=25 <br />
You'll need to register and login to be able to post in that forum. -
I have a topic that was once stable
, but now at one point in the top
ic the style is correct. But in another area, the style will not take and the HTM
L code inserts <span> etc., etc. Here is an example if you look at the H
2 head:
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="template" content="NERC.htt" />
<meta name="generator" content="Adobe RoboHelp 8" />
<title>Revoking PI User Access</title>
<link rel="StyleSheet" href="..\default.css" type="text/css" />
</head>
<body>
<?rh-script_start ?><script src="../ehlpdhtm.js" type="text/javascript"
language="JavaScript1.2"></script><?rh-script_end ?>
<?rh-placeholder type="header" ?>
<h1>Revoking PI User Access</h1>
<p>Access for both a PI user and a SCADAView user can be revoked if a Mantis
ticket requesting removal from IT AccessRequest exists. For Mantis tickets,
make sure that a <span class="BoldName">Real Time Systems User ID Add-Changed-Remove</span>
form completed by the user’s E4 manager is attached to the ticket. If
not, contact the requestor.</p>
<p>In order to remove access, you must search for the user name in both
the old and new databases:</p>
<ul type="disc">
<li class="BulletedList">For instructions on revoking a user's access
in the old database, <a href="#Removing_Access_Old_DB">click here</a>.</li>
<li class="BulletedList">For instructions on revoking a user's access
in the new Active Directory database, <a href="#Removing_Access_New_DB">click
here</a>.</li>
</ul>
<p>After revoking a PI user's access, you also need to remove the user's
name from the Outlook Address Book. For instructions, <a href="#Removing_User_Outlook_Group">click
here.</a></p>
<h2>Removing a user's access in the old database<a name="Removing_Access_Old_DB"></a></h2>
<ol>
<li class="NumberedList"><p style="margin-left: 0px;">Go to the SCADA
website at <a href="http://scada/" style="font-size: 10pt;">HTTP://SCADA</a>.</p></li>
<li class="NumberedList"><p>When the <span class="BoldName">SCADA &
Distribution Automation</span> home page displays, under <span class="BoldName">PI
Historian</span>, click <span class="BoldName">User Maintenance</span>
(circled in red). <a class="dropspot" href="javascript:TextPopup(this)"
id="a5">Click to view</a>.</p>
<div class="droptext" id="POPUP134020538" style="display: none;">
<p><img src="../PI_Historian.jpg" alt="" style="border-left-style: Solid;
border-left-width: 2px; border-right-style: Solid; border-right-width: 2px;
border-top-style: Solid; border-top-width: 2px; border-bottom-style: Solid;
border-bottom-width: 2px;" width="194" height="109" border="2" /></p>
</div></li>
<li class="NumberedList"><p>When the SCADA System Logon screen displays,
perform the following:</p></li>
</ol>
<ol start="1">
<li class="NumberedList2"><p>For <span class="BoldName">User Id,</span>
enter your PI user id.</p></li>
<li class="NumberedList2"><p>For <span class="BoldName">Password,</span>enter
your PI password.</p></li>
<li class="NumberedList2"><p>For <span class="BoldName">Select Group,
</span>click <span class="BoldName">PRG</span> from the dropdown list.</p></li>
<li class="NumberedList2"><p>Click <img src="../ButtonSubmit.JPG" alt=""
style="border: none;" width="61"
height="25" border="0" /><span
class="BoldName">.</span></p></li>
</ol>
<p style="text-indent: 84px;"><span class="BoldName"> Result:</span><span
class="Result"> The </span><span class="BoldName">User Administration</span><span
class="Result"> screen displays the user's information. <a class="dropspot"
href="javascript:TextPopup(this)" id="a2">Click to view</a>.</span></p>
<div class="droptext" id="POPUP133400192" style="display: none;">
<p><img src="../UAdminKUSBJX.jpg" alt="" style="border: none;" width="456"
height="368" border="0" /></p>
</div>
<ol start="4" type="1">
<li class="NumberedList"><span class="Result">I</span>f the user id
is recognized, but PI access must be removed while keeping <span class="BoldName"
style="font-weight: normal;">SCADAView.</span></li>
<li class="NumberedList">If the user id is recognized, but PI access
must be removed while keeping <span class="BoldName" style="font-weight: normal;">SCADAView
access, uncheck the </span><span class="BoldName">PI Access</span><span
class="BoldName" style="font-weight: normal;"> checkbox and click
</span><img src="../ButtonModify.JPG" alt="" style="border: none;"
width="63" height="25" border="0" />. </li>
</ol>
<p style="margin-left: 60px;"><span class="BoldName"> Result:  </span>If
the PI-only access removal is successful you should see this message (circled
in red).</p>
<ul type="disc">
<ol start="6" type="1">
<li class="NumberedList"><p> </p></li>
<li class="NumberedList">If both SCADAView and PI Access must be
removed, click <img src="../ButtonDelete.JPG" alt="" style="border: none;"
width="63" height="24" border="0" />.</li>
<p> Result: If both SCADAView and PI access removal is successful
you should see the following message (circled in red). <a class="dropspot"
href="javascript:TextPopup(this)" id="a4">Click to view.</a></p>
<div class="droptext" id="POPUP133037650" style="display: none;">
<p><img src="../UAdminDeleted.jpg" alt="" style="border: none;"
width="466" height="409" border="0" /></p>
</div>
<p class="Note" style="margin-left: 108px; text-indent: -48px;"> NOTE:
 <span style="font-weight: normal;">The User ID is the person’s
LAN user id. This removes the user id from the GLOBE_USER table.</span></p>
<h2><span style="font-weight: normal;">Removing a user's access
in the new database (Windows Active Directory)<a name="Removing_Access_New_DB"></a></span></h2>
<ol type="1">
<li class="NumberedList"><p><span style="font-weight: normal;">Remote
desktop to either server: <span style="font-weight: bold;">cccs-pifig01</span>
or <span style="font-weight: bold;">lc3s-pifig01</span>.</span></p></li>
<li class="NumberedList"><p><span style="font-weight: normal;">Double-click
the <span style="font-weight: bold;">Energy PI Users Group.</span></span></p></li>
<li class="NumberedList"><p><span style="font-weight: normal;">When
the<span style="font-weight: bold;"> Energy PI Users Properties
</span>dialog<span style="font-weight: bold;"> </span>displays,
select the <span style="font-weight: bold;">Members</span>
tab. See below.</span></p></li>
</ol>
<p style="margin-left: 48px;"><span style="font-weight: normal;"><img
src="../Remove_NewDB.jpg" alt="" style="border: none;" width="963"
height="642" border="0" /></span></p>
<ol start="4" type="1">
<li class="NumberedList"><p><span style="font-weight: normal;">Select
the LAN user name on the screen and click <img src="../ButtonRemove.jpg"
alt="" style="border: none;"
width="75"
height="24"
border="0" />.
</span></p></li>
</ol>
<p style="text-indent: 60px;"><span style="font-weight: normal;"><span
style="font-weight: bold;"> Result:</span> The user is removed
from the PI access Active Directory user database.</span></p>
<h2><span style="font-weight: normal;">Removing a user's name from
Outlook<a name="Removing_User_Outlook_Group"></a> </span></h2>
<p><span style="font-weight: normal;"><span class="BoldName" style="font-weight: normal;">This
procedure involves removing the newly deleted user from the </span><span
class="BoldName">T&D PI Users</span><span class="BoldName"
style="font-weight: normal;">
group in the Outlook Address Book.</span></span></p>
<ol start="1" type="1">
<li class="NumberedList"><p><span><span class="BoldName" style="font-weight: normal;">Open
the address book in Outlook.</span></span></p></li>
<li class="NumberedList"><p><span style="font-weight: normal;">Locate
and delete the user’s name from the <span class="BoldName">T&D
PI Users group.</span></span></p></li>
<li class="NumberedList"><p><span style="font-weight: normal;">Complete
the Mantis ticket.</span></p></li>
<li class="NumberedList"><p><span style="font-weight: normal;">If
the user is on the Terminated Employees list, enter the employee’s
user id in the PI Access column and highlight the entire row
with an orange background color.</span></p></li>
</ol>
<p> </p>
<?rh-placeholder type="footer" ?>
</ol>
</ul>
<?rh-placeholder type="footer" ?>
<?rh-script_start ?><script type="text/javascript" language="JavaScript1.2">//<![CDATA[
if( typeof( TextPopupInit ) != 'function' ) TextPopupInit = new Function();
TextPopupInit('a5', 'POPUP134020538');
TextPopupInit('a2', 'POPUP133400192');
TextPopupInit('a4', 'POPUP133037650');
//]]></script><?rh-script_end ?>
</body>
</html>
I am exhausted from deleting specific HTML code to make the content work. Plus there seems to be an issue with the margins moving around. Can someone help me with this HTLM code nightmare? Other than deleting it all and inputting the text again? This is the only topic in my project in which this has occurred.Hi Gloria,
Its not possible to talk about a solution until you know the issue which caused it. the question is the HTML cannot get reorganize in RoboHelp if it is not edited exclusively - by this I mean if you bring in all the content through RoboHelp UI then RoboHelp will not change HTML by itself, until you manually change the html code.
you should try to find out the cause of the seizure (by which I think you mean hang), It could be that you are using any version control and it failed to checkout/checkin one or more project files, It might be that .cpd file got corrupted in that case you can try deleting the .cpd file after closing the project and it will get recreated by RoboHelp on next Open project, or it is possible that some of your shared resources might be missing/moved because of which RoboHelp hangs then in such case you should replace/remove these resources.
You should not be working on the project over network (i.e. the Project should be on the local drive).
Are you using CBTs and UDVs or your topics are too large (and thus processing of these topics seizes RoboHelp)
by any means deleting random HTML code of any topic might actually make the HTML invalid and cause more crashes or hangs.
I have listed down almost all the reason..
one way is to remove topics and find out the culprit topics which causes the hang and if you find one you can share it with me at [email protected] and I might find the cause of RH hang by inspecting that
Hope this helps
Ashish -
How can I get Firefox to execute html code in a text file?
I used Notepad to create a text file, markup.html, that contains html code. How can I get Firefox to execute this code?
Also, how can I use the <script> tag in the html code using the src attribute to execute code in a file written in Javascript?First guess is that you did not use an .html extension on the file. The file may well be ''name.html.txt''
* see http://www.bbc.co.uk/webwise/guides/file-extensions
*http://windows.microsoft.com/en-gb/windows/show-hide-file-name-extensions#show-hide-file-name-extensions=windows-vista
Forum Note
This is normally offtopic for this forum. I say normally because now we cover webmaker questions. I wonder if this is therefore on topic as a webmaker question?
I have tagged with webmaker-contribution -
Embed HTML code in announcements body
Every time i try to insert html code in the body of my announcement, I get the warning the html may have been modified and I get my code remove, any idea on how to fix this ?
Hello,
I think this is default behavior. If you try to add link/path/url then SP by default change them and make them short.
Read this link for more info:
http://sharepoint.stackexchange.com/questions/5186/the-html-source-you-entered-might-have-been-modified
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Use html code in web page composer 7.3
Hi all,
I have a question about the standard editors of web page composer in 7.3.
I want to create my own HTML code for the design of the portal page..
Is it possible to use the code through one of the standard editors?
At the moment I have created some html pages and store them in the KM content of the portal. Then I make this pages available with the KM Document iViews to use them in the Web Page Composer. The problem now is, that the links to other portal pages doesn't work..
So is there maybe a possibility to use the html code directly in one of the editors? Or do you know, how you have to define the links to navigate to other portal pages? I tried a href="TBN://..." like the links you get with the Link List Editor, but it doesn't work..
Thanks in advance for your help!
Regards,
LydiaHi,
now we have the tinyMCE editor, where you can insert and edit html-code. It works fine now for the layout,
but there are still a few problems with the links..
In the edit mode there are displayed all km images out of the km. But the images aren't displayed under the portal role, when i publish the page. And all the links like one to a wiki or the TBN links doesn't work, too.
Can anybody help me further?
Thanks in advance,
Lydia -
hi,
i have the macromedia flash professional 8, and i'm building
a web site in flash. Although i have some questions:
1-
I want to put a counter, a mp3 player and a mailing list code
that is in HTML code how can i do it?
example of the code of the counter:
<!-- Start Bravenet.com Service Code -->
<script language="JavaScript" type="text/javascript" src="
http://pub8.bravenet.com/counter/code.php?id=395396&usernum=635540990&cpv=2">
</script>
<!-- END DO NOT MODIFY -->
the other codes are similar to this.
2-
I want to put a scroll bar in my flash website how can i do
it?
let me know i'm realy newbie.
thanks a lotdavidrasta,
> i have the macromedia flash professional 8, and i'm
> building a web site in flash.
Okay.
> I want to put a counter, a mp3 player and a mailing list
> code that is in HTML code how can i do it?
Ah. Well, it's important to realize the difference between a
browser
and the Flash Player plug-in. Browsers download files and
display them
based on HTML. Most browsers have a JavaScript engine, which
is required,
of course, for interpreting JavaScript. In fact, having a
JavaScript engine
is a bit like having the Flash Player plug-in: without it,
you can't
display media of the relevant sort.
The Flash Player does not provide a JavaScript engine.
Flash's language
is ActionScript. So code like this ...
> example of the code of the counter:
>
> <!-- Start Bravenet.com Service Code -->
> <script language="JavaScript" type="text/javascript"
> src="
http://pub8.bravenet.com/counter/code.php?id=395396&usernum=635540990&cpv=2
> ">
> </script>
... simply won't run in a Flash movie because there's nothing
to run it.
You'll either have to use one of the ActionScript solutions
for posting
variables (such as loadVariables() or the LoadVars class) --
and even that
may not work, because I'm guessing the bravenet.com PHP form
returns data
relevant to JavaScript -- or leave room in your HTML code for
both a SWF
file (your Flash movie) and such JavaScript snippets.
> I want to put a scroll bar in my flash website how
> can i do it?
Look in your Components panel and use the ScrollPane
Component.
David
stiller (at) quip (dot) net
Dev essays:
http://www.quip.net/blog/
"Luck is the residue of good design." -
hi,
i use DW8 and i recently found out that DW does not make a
well indented HTML code. earlier i ignored this. this problem
surfaced recently when the asp programmers using visual studio said
that every time i give them a html page, they have to indent it
properly so that they are able to code properly which results in
some time being wasted. why is that DW cannot write proper indented
html code in the first place? will this be fixed in future or this
will continue? is there any extension which i can use to properly
indent it?
thanks,
gauravgaurav_ch wrote:
> fiddled around some more and found out that indeed there
is a command -
> commands>apply source formatting. but then another
question - why do i have to
> do it myself, why not by default?
Some people don't like indented code formatting.
James M. Shook
http://www.jshook.com -
Outlook 2013 - Insert HTML code into email
Hi there,
A simple question, or so I thought. How can I insert HTML code into an Outlook email?
Thanks
DaveYou can inject HTML code into the message body via the Insert as Text option;
Insert-> (Attach) File-> select the created htm-file-> press the down arrow on the Insert button-> Insert as Text
Cheers,
Tony Chen
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please contact
[email protected] -
JDIalog, HTML Code, setLocationRelativeTo; not centered
Hi,
I am building my own modal dialog; it's a JLabel with formatted HTML Code - I only use the bold <b> and break <br> tag in the default font size and -type.
I use setLocationRelativeTo() to center the dialog to my main JFrame; however, the dialog is not centered, it's shifted down to the right. Even if I just use some letters in my HTML code the dialog isn't centered. Here is my code:
public class TDDialog extends JDialog implements ActionListener, WindowListener {
private JPanel exercisePanel, containerPanel;
private JLabel exerciseLabel;
private JButton readyButton = new JButton("Ready");
private JButton showSolutionButton = new JButton("Solution");
private JTextField solutionTextfield;
private String solutionString;
private Font font = new Font("SansSerif", Font.PLAIN, 12);
public TDDialog(Frame ownerFrame) {
super(ownerFrame, true);
addWindowListener(this);
setTitle("Exercise");
setLayout(new BorderLayout());
exerciseLabel = new JLabel();
exerciseLabel.setFont(font);
exercisePanel = new JPanel();
exercisePanel.add(exerciseLabel);
solutionTextfield = new JTextField();
solutionTextfield.addActionListener(this);
containerPanel = new JPanel();
containerPanel.setLayout(new BorderLayout());
containerPanel.add(readyButton, BorderLayout.LINE_START);
containerPanel.add(showSolutionButton, BorderLayout.CENTER);
readyButton.setFont(font);
showSolutionButton.setFont(font);
readyButton.addActionListener(this);
showSolutionButton.addActionListener(this);
exerciseLabel.setText("<html><body>3 Lines<br><b>3 Lines</b><br>3 Lines<br></body></html>");
add(exercisePanel, BorderLayout.PAGE_START);
add(solutionTextfield, BorderLayout.CENTER);
add(containerPanel, BorderLayout.PAGE_END);
setResizable(false);
pack();
setLocationRelativeTo(ownerFrame);
setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);
// action- and window-listeners...Am I building the JDialog correctly? Is there a better, a more recommended or "nicer" way? Why isn't hte dialog centered?
Edit: I really would like to assign Duke Stars to my question, however, since the last forum maintenance, I can't do this any more "Server Error
This server has encountered an internal error which prevents it from fulfilling your request. The most likely cause is a misconfiguration. Please ask the administrator to look for messages in the server's error log." This happens every time at different PCs with different browsers / versions / proxy-settings.
Message was edited by:
SFLHere is the missing part for a SSCCE; I noticed that the modal dialog is centered in relation to the screen, not to the "ownerFrame", although I pass ownerFrame to the setRelativeTo statement.
import java.awt.Dimension;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class GUI_Test extends JComponent implements MouseListener {
private static final long serialVersionUID = 1L;
private JPanel pmPanel = new JPanel();
private TDDialog tdd = new TDDialog(GUI_Test.frame);
private static JFrame frame;
public GUI_Test() {
addMouseListener(this);
add(pmPanel);
private static void createAndShowGUI() {
JFrame.setDefaultLookAndFeelDecorated(true);
frame = new JFrame();
frame.setTitle("GUI_Test");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
GUI_Test newContentPane = new GUI_Test();
newContentPane.setOpaque(true);
frame.setPreferredSize(new Dimension(500, 500));
frame.setResizable(false);
frame.setContentPane(newContentPane);
frame.pack();
frame.setVisible(true);
public static void main(String[] args) {
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
createAndShowGUI();
public void mouseClicked(MouseEvent arg0) {
tdd.setVisible(true);
public void mouseEntered(MouseEvent arg0) {}
public void mouseExited(MouseEvent arg0) {}
public void mousePressed(MouseEvent arg0) {}
public void mouseReleased(MouseEvent arg0) {}
}Thanks for your help!
Maybe you are looking for
-
Added fields not appearing in the DSO transformations.
Hi, I have added three new info objects into data fields in the DSO then activated and not appearing added fields in the transformations. Please suggest me, regards, Jayapal.
-
Can't get headers and footers to work - after I enter something (page
I can't get headers and footers to work - after I enter something (page #, etc) it will show up on the first page but not subsequent pages - what am I doing wrong?!
-
WS_DELIVERY_UPDATE_2 is not upating line text
I am trying to update Header and line item text using the FM WS_DELIVERY_UPDATE_2 with in the IDOC_INPUT_DELVRY. I have populated all the required prameters for line text in FM but it is not gettnig updated in delivery. Header text are getting update
-
I5 charging problem
-
I cannot install PSE 10 on mac OSX 10.7 lion
I just bought PSE 10 to mac and nothing works. What could I do?? Exit Code: 24 -------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 18 error(s), 0 warning(s) ERROR: DW001: Set payload cancelled sta