FlashVars from an html link?
Is it it possible to receive FlashVars from an html link? How would that be done?
Thanks a lot!!!
KGLAD, wondering if you could help me again. I finally got this deep Linking to work but when I try to actually implement to site and test, I ran into 2 problems:
1st problem is that I have a JavaScript alert in my index page where the actually .swf files is embedded, the alert was simply spitting back my variables, but when I try to remove it, the code stops working.
2nd problem is the code does not work at all in Safari (on MAC) but does work in Firefox (on MAC)
Any light you can shed here would help. Link is below...
http://www.gspacedesign.com/kim/NEWEST/linktowebsiteWorking.html
I have attached 3 of 4 files to this post, will attach the last one to a new post.
Thanks,
KIM
Similar Messages
-
Open a JspDynPage from a html link
I would like to link a jps to the JspDynPage. I think that it would be able to do it through the "pcd". For example:
- I have the SAP customer login screen (original) and i want to add a "link" (Forgotten PIN) to link with the JspDynPage (Java controller).
Is it possible to do it? Does anyone know how? Do i go in right way?
Thanks in advance.The code was lightsout.class, not #.class...
I just want an HTML link to open a JAVA JFrame. Would a button work instead of an HTML link? Here's the beginning/initialization of my JFrame:
public lightsout() {
frame = new JFrame("LightsOut");
frame.setSize(new Dimension(700, 700));
frame.setTitle("Lights Out!");
frame.setLocation(50, 50);
frame.setResizable(false);
japplet.setFocusable(false);
frame.setAlwaysOnTop(true);
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
int height = screenSize.height;
int width = screenSize.width;
frame.setLocationRelativeTo(null);
frame.setLayout(new BorderLayout());
centerPanel = new JPanel(new GridLayout(5, 5)); -
Can you do Update Record from an HTML link?
Can you implement the Update Record server behavior by
clicking on an HTML link?
As far as the documentation I've read indicates, the Update
Record server behavior is only capable of updating a record when a
Form is submitted.
I would rather have the action of clicking on an HTML link
update the record, rather than having a Submit button to update the
record.
Is this possible? How do I go about doing this?
IsIf you coded the HTML on the page to submit your variables,
you should be
able to pull them in to the update page, though you might
have to manually
edit some code.
However, this also means you will always have a link present
that bots will
hit (and thus will update your database). Is this what you're
looking for?
It certainly doesn't sound like the best method.
HTH<
Jon
"robotai" <[email protected]> wrote in
message
news:enk2k1$1l0$[email protected]..
> Can you implement the Update Record server behavior by
clicking on an HTML
> link?
>
> As far as the documentation I've read indicates, the
Update Record server
> behavior is only capable of updating a record when a
Form is submitted.
>
> I would rather have the action of clicking on an HTML
link update the
> record,
> rather than having a Submit button to update the record.
>
> Is this possible? How do I go about doing this?
> Is
> -
Running vb code from a HTML link
Hi,
I'm using place holders to show and hide tables of text.
There are multiple tables on the page to show and hide (only 1 to
be visible at a time) I have got it all working fine using asp
buttons to run the vb script but I'd like to show and hide the
tables when clicking on a html text link rather then the asp
button. Can anyone help?
The vb script:
<SCRIPT language="vb" runat="server">
Sub Discounted(Sender As Object, E As EventArgs)
phdiscounted.visible = true
phVariable.visible = false
End Sub
Sub Variable(Sender As Object, E As EventArgs)
phdiscounted.visible = false
phVariable.visible = true
End Sub
</SCRIPT>Sean022 wrote:
> Hi,
>
> I'm using place holders to show and hide tables of text.
There are multiple
> tables on the page to show and hide (only 1 to be
visible at a time) I have got
> it all working fine using asp buttons to run the vb
script but I'd like to show
> and hide the tables when clicking on a html text link
rather then the asp
> button. Can anyone help?
>
> The vb script:
> <SCRIPT language="vb" runat="server">
> Sub Discounted(Sender As Object, E As EventArgs)
> phdiscounted.visible = true
> phVariable.visible = false
> End Sub
>
> Sub Variable(Sender As Object, E As EventArgs)
> phdiscounted.visible = false
> phVariable.visible = true
> End Sub
> </SCRIPT>
>
>
If your using buttons then you must be getting the form data
using
Request.Form("formname") right? If you want to use a link you
will need
to pass a variable in the url.
For instance:
<a href="yourpage.asp?show=area">Show</a>
Then on yourpage.asp use Request.QueryString("show") to get
your variable.
Steve -
Can I link directly to a specific spry data choice from an html link
http://www.nmprc.state.nm.us/als.htm
my pages are set up around an xml source, but is there any
way to link directly to one of the xml choices? Say "Forms and
Apllications" so that I can set a helpful link on another html page
and that choice will be open on page load.
can you point me in the right direction If there are any
samples of this?Check out these samples:
http://labs.adobe.com/technologies/spry/samples/data_region/DataWithURLParams.html
http://labs.adobe.com/technologies/spry/samples/utils/URLUtilsSample.html
These samples all happen on one page, but the links can be
anywhere. It is mostly the matter of passing the URL param to the
function correctly.
Hope this helps.
Don -
How can i send data POST with a html link in a textfield
Hello,
This is my problem : I generate (from a php script) html
links in a textfield. I would like for each link to send data with
the POST method to an other script.
My problem is that the getURL("lien", "", "POST") function
can be use only by a movieclip or button event ... and not from a
html link ...
How can i do it ?
Have you a small idea???
Thanks ....yes, thanks but now my problem is in my function associated
to this link :
function SendPost()
var toto="toto";
getURL("
http://127.0.0.1/board/scheduledfirst.php",
"_blank", "GET");
The function is executed but after in php i can get anything
with echo ($_GET["toto"]); echo ($_POST["toto"]);
Why ? -
AWE Worklist HTML link to Component
I'm attempting to link to my custom component from an HTML link on my worklist. The link works I'm able to get to the component. However I'm trying to bypass the search page and have the Workflow approval page open up from the link. This isn't happening though. I keep getting the search page and am not sure what I'm doing wrong. Are the key fields no being passed appropriately? Are there properties on the component or page that need to be configured?
Any help is greatly appreciated. Thanks!Compare your generated URL with the URL of a transaction. Don't look at the PSP URL in the address bar, look at the URL for the content frame. Even better, right-click and view source for the content frame. In the source, look for a JavaScript variable named strCurUrl. This variable has the URL with transaction key fields. It is possible you are just missing a transaction key.
Generally speaking, you can add all the search record keys and values using the form ?key1=value&key2=value&Action=U&Page=NAME_OF_PAGE.
There is also a checkbox on the component labeled "Force search processing." Make sure this is not checked.
Also, are you using CRM? CRM has it's own configurable search which does not use the same search processing as the rest of the PeopleSoft applications. -
Getting links and its names from a html file
Hi everyone
My problem about the a getting links with name from a html file. For example
İn a web page in this site ?SUN? when use click SUN the browser open http://java.sun.com
İ want both of them, so the links and name. I can succeeded the get link but i don t know how to get the link name.
For example :
<B>setRightComponent(Component)</B>
İn this code segment i want to get B tag. But how i don t know. To get A tag i used this code
List result = new ArrayList();
try {
// Create a reader on the HTML content
URL url = new URI(uriStr).toURL();
URLConnection conn = url.openConnection();
Reader rd = new InputStreamReader(conn.getInputStream());
// Parse the HTML
EditorKit kit = new HTMLEditorKit();
HTMLDocument doc = (HTMLDocument)kit.createDefaultDocument();
kit.read(rd, doc, 0);
// Find all the A elements in the HTML document
HTMLDocument.Iterator it = doc.getIterator(HTML.Tag.A);
while (it.isValid()) {
SimpleAttributeSet s = (SimpleAttributeSet)it.getAttributes();
String link = (String)s.getAttribute(HTML.Attribute.HREF);
if (link != null) {
result.add(link);
it.next();
İ can use B tag but i don t know hot to get its value because it has no prefix such as HREF....
i am sorry if i use a bad explanation style or incorrect word.import java.io.*;
import java.net.*;
import javax.swing.text.*;
import javax.swing.text.html.*;
class GetLinks
public static void main(String[] args)
throws Exception
// Create a reader on the HTML content
Reader reader = getReader( args[0] );
// Parse the HTML
EditorKit kit = new HTMLEditorKit();
HTMLDocument doc = (HTMLDocument)kit.createDefaultDocument();
doc.putProperty("IgnoreCharsetDirective", Boolean.TRUE);
kit.read(reader, doc, 0);
// Find all the A elements in the HTML document
HTMLDocument.Iterator it = doc.getIterator(HTML.Tag.A);
while (it.isValid())
SimpleAttributeSet s = (SimpleAttributeSet)it.getAttributes();
String href = (String)s.getAttribute(HTML.Attribute.HREF);
int start = it.getStartOffset();
int end = it.getEndOffset();
String text = doc.getText(start, end - start);
System.out.println( href + " : " + text );
it.next();
// If 'uri' begins with "http:" treat as a URL,
// otherwise, treat as a local file.
static Reader getReader(String uri)
throws IOException
// Retrieve from Internet.
if (uri.startsWith("http:"))
URLConnection conn = new URL(uri).openConnection();
return new InputStreamReader(conn.getInputStream());
// Retrieve from file.
else
return new FileReader(uri);
} -
How to open an Applet from a text link in a HTML Page
Hi There
How to open an Applet from a text link
in a HTML page
For example I have a HyperLink "Open Applet"
When a user clicks that link i want to open a
Applet in a AWT Window.
How can i do this
Will any one help me?
-Ramyau can use javascript for that
<SCRIPT language="javascript">
function loadAppNow() {
document.write("<APPLET ......></APPLET>")
</SCRIPT>
LoadApplet
this will overwrite the applet on current window
There are many good ways other than document.write to open in same window. I don't remember the syntax right now.
Plz. refer to javascript tutorial for that.
even you can insert the applet while retaining previous contents. its quite easy actually.
regards....bhart -
Import Links from JavaDocs HTML Files
When I import HTML files from JavaDoc with internal links
into RoboHelp, they come in with broken links. Internal HTML links
have # signs in their bookmarks & Robo7 does not like them. How
can I get Robo to accept these internal embedded HTML links?See
here
for a duplicate thread. -
Linking from a html webpage to an image in a photoflow component
Hello,
I will apologise first as I am very new to the world of flash but am trying to do something that (to me) seems fairly complicated.
I am using the photoflow component in flash as an image viewer, I would like to link to individual images within the viewer from html webpages.
I have a link in a HTML page. The link goes to a .swf file that shows a gallery of images that are defined in an xml file.
Currently I can define the startposition of the .swf file in the xml file in a simple way (i.e. center). Can I define the start position in the HTML link to go to the desired image?
In other words
link 1 = Startposition Image 1
link 2 = Startposition image 2
link 3 .... etc.
Any help would be greatly appreciated.
Thanks
HannahThanks again, Rick.
Either I am doing something wrong or the Shortcut Control is not an option for me. I want to just give up this as I have spent WAY too much time trying it over and over again. I deleted the spaces from the folder names, tried various versions of the relative link, and still cannot access these files from the chm directly in my working folder (not called from the application where it will eventually live). I know this solution worked for me before. I’m just not sure what is happening now. It seems that RH doesn’t recognize the path and file and, when I try to alter the reference, RH reverts to whatever I had originally specified in the “Program to open” field. ☹ The shortcut does work when I use an absolute path (file:///D:/RoboHelpProjects/help/HardwareTroubleshooting/index.php/Hardware_Guide.html<f ile:///D:\RoboHelpProjects\help\HardwareTroubleshooting\index.php\Hardware_Guide.html>) but I cannot do that since the app will not absolutely be stored in the same place for every customer. I have to find a way to use a relative path in which the ./help directory is located one level above the root directory (D:/pcs/help…).
You have been so helpful, but I really don’t want to keep bugging you. Do you know of any links to online tutprials for the JavaScript option you mentioned? I have never worked with that before.
Thanks again…Kim -
Adding HTML link to buy subscription from article
Hi,
Is it possible to create a HTML link from a button or some text in an article which invokes the buy subscription popup box?
On the main page for the viewer that shows the individual issues you can click to buy one issue or click a banner across the top to buy a subscription.
Once this is clicked a popup box is displayed which shows the different pricing levels.
Is there anyway to start this subscription purchasing from within an article?
ThanksHi Bob,
I would like to link the subscription options out of an article. I don't think it will work with the goto links or am I wrong? I've seen this in the digital Esquire (see image attached).
Best,
Jens -
Send variable to Flash from HTML link
Does anyone know if it's possible to include a variable in an
html link <a> tag that can set a variable in Flash. I have
used JavaScript to do this in the past but would prefer not to on
this site. I also would prefer not have to use a server side script
or xml, as all I want to do is set multiple links on one html page
to open the same Flash movie on another html page, but make it go
to a particular frame or load a particular external swf based on
the link that was clicked. Thanks, JDYou need to use them in the object and embed tags.
Dan Mode
--> Adobe Community Expert
*Flash Helps*
http://www.smithmediafusion.com/blog/?cat=11
*THE online Radio*
http://www.tornadostream.com
*Must Read*
http://www.smithmediafusion.com/blog
"JDRives" <[email protected]> wrote in
message
news:efcb61$rkb$[email protected]..
> Do I need to use Flash Vars in the object and embed code
to load them in
> or will they automatically be passed to the variable on
the _root level of
> the SWF file? Thanks for your quick reply, JD -
Target Flash Movieclip from HTML Link - Feasible?
Is it possible to target a specific movieclip within an swf
that's embedded on an external html page using an HTML link? Or is
this a stretch? It seems like this would be feasible but I've hit a
wall on this one.No. Google search for FLV grabbers.
--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com
"martinpillot" <[email protected]> wrote in
message
news:g8ul80$c9j$[email protected]..
> Is it possible to target a specific movieclip within an
swf that's
embedded on
> an external html page using an HTML link? Or is this a
stretch? It seems
like
> this would be feasible but I've hit a wall on this one.
> -
I want to link from an HTML page directly to a certain frame
in my flash movie. is this doable? thimking php could do it but not
sure. any ideas?
-marcSure, you can pass a variable into Flash from your PHP/HTML.
You can either attach it as a URL variable to your SWF URL or you
can use a Flashvars param in the object/embed tags. See LiveDocs
for more on that:
http://livedocs.macromedia.com/flash/8/main/00001206.html
Once you've passes the variable through the HTML, its
immediately available in the SWF so you can send the timline
wherever you like.
Good luck!
Maybe you are looking for
-
Write Table to file (Excel or otherwise) in background
Hello All, I am new the ABAP programming with only self training (two weeks). I have searched forums for 4 days trying to find usable solutions. I am writing directly to see if someone can point me in the correct direction. I have to output data fr
-
Final Cut Pro / Logic Pro Don't Work with MacBook Pro
I think it's pretty bad public relations that Apple would knowingly sell a new product that does not work with Logic 7.1 or Final Cut Studio, and not bother to tell you. We found out the hard way when after a post-production editor spent 3 hours tryi
-
My printer will only print in mauve from my macbook. A printer problem, you say. Printer will copy in b&w, it will print pdf files in b&w, but if I try to print directly, for example a USPS postage label, it prints in very light mauve , if at all. Gi
-
I have iPad and I touch can I use the power cord
I have an iPad and an itouch can I use the same power cord
-
i get wrong pictures for my contacts. when i change, delete,.. them on my desktop (osx 10.9) i get totally other versions on my ios devices ( ipad air w ios 7 and phone ios5). seems to me, that the pictures dont get synced properly. any help?