Text.html=true : open in new window?
1. How can I make msgA[3] text #C0C0C0?
2. How can I make mgsA[3] open in a new window?
var format1:TextFormat = new TextFormat();
format1.bold = true;
format1.color = 0x666666;
format1.size = 15;
this.createTextField("scroll_txt", this.getNextHighestDepth(), 143, 170, 648, 233);
this.createTextField("newszlatestcat", this.getNextHighestDepth(), 143, 170, 648, 233);
newszlatestcat.multiline = true;
newszlatestcat.wordWrap = true;
newszlatestcat.textColor = 0xFFFFFF;
senderLoad.sendAndLoad("http://www.abc.com/my.php",receiveLoad,"POST");
receiveLoad.onData = function(src) {
var messageA:Array = src.split(",,,");
messageA.pop();
var charCount = 0;
var formatIndices = new Array();
newszlatestcat.html=true;
for(var i:Number=0; i<messageA.length; i++){
var msgA:Array = messageA[i].split(",,");
newszlatestcat.htmlText += msgA[0]+msgA[1].split(" ")[0]+"<br>"+msgA[2]+"<br><b>Link | </b><a href='"+msgA[3]+"'>"+msgA[3]+"<\a><br>"+hrF(newszlatestcat,"_",0x333333)+"<br><br>";
formatIndices[i] = {startAt: charCount, endAt: charCount+msgA[0].length};
charCount = newszlatestcat.text.length;
for(var j:Number=0; j<formatIndices.length; j++){
newszlatestcat.setTextFormat(formatIndices[j].startAt, formatIndices[j].endAt, format1);
1. While it's considered bad html practice, you can try placing a font tags around the text within the set of anchor tags to set the color.
2. To target a window in an anchor tag you need to include the parameter: target="_blank"
Similar Messages
-
HTML-DB OAE Javascript to close current window and open a new window
Hi everybody,
We work with 1.6.
What we want is to close the current window and open a new window with the URL mentionned in the window.open('http://www.cf.qc/pls/portal/PORTAL.....,'newwindow').
The new window opening fires only once although we call it many times.
Our javascript is:
function closeTest()
{ alert('closeTest');
if('&REQUEST.'=='QUITTER2'){
w = window.self;
w.opener = w;
w.close();
window.open('http://www.cf.qc/pls/portal/PORTAL.home','newwindow','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
We call it on our application attributes :
OnLoad="closeTest()"
Thanks. Bye.Try this on for size:
I have included two functions.
windowRebuild() - opens a new window, maximizes it based on the screen size, removes all toolbars, and then closes the old window.
myLocation(appName, pageName) - builds a url referencing an HTMLDB application, specfic to what server you are currently on. Very useful when you have an application on 3 different servers(dev, test, prod servers), you wouldn't want the server name hardcoded if you plan to export the app to another server.
Also, you need to be careful when using &APP_ID. I am not completely certain how that is resolved at runtime, but I've found it only works when the javascript is in the HTML Header of a page and not stored in the template of the page.
<script language="JavaScript1.1" type="text/javascript">
This functions is for internal application use.
Examples of myLocation:
url = myLocation('&APP_ID.', 'APP_PUBLIC_PAGE');
url = myLocation('MY_APP_ALIAS', 'MY_PAGE_ALIAS');
url = myLocation('184', '10');
function myLocation(myApp, myPage){
var myHost = location.host;
var newURL;
newURL = 'http://'+myHost+'/pls/htmldb/f?p='+myApp.toString()+':'+myPage.toString();
return newURL;
/* Function windowRebuild()
* This function will open a new window and close the old window.
* This function will also maximize the new window and remove all toolbars.
function windowRebuild(){
if(window.name != 'myAppWin'){
var url = myLocation('&APP_ID.', 'PAGE_ALIAS');
var myWin = window.open(url,'myAppWin','toolbar=0,scrollbars=1,menubar=0,status=1,resizable=1,location=0');
window.opener = 'x';
window.close();
if(window.name == 'myAppWin'){
window.moveTo(0,0);
window.resizeTo(screen.availWidth,screen.availHeight);
</script>Let me know if that works or you need some more explanation.
Chris -
How to open a new window by clicking the string in the text field ?
Hi
is it possible to do this ?
Some string value is retrieved from database and it is placed in the text field. [ done with this part ]
i have to provide link to that string to open a new window. [ yet to do ]
Please help me in this.
Note : if this is not possible , give me some other idea to do this.
-Arunwhether this is useful ?
I am using string field here.
public StringField(java.lang.String name,
java.lang.Object listener,
java.lang.String callback,
java.lang.String value)Constructs a StringField
Parameters:
name - Name of field
listener - Listener to update
callback - Callback of listener
value - Value of field
-Arun -
HTML Container - pdf-file opens a new window
I use the ITS Webservice PZ04.
There is included a html container who shows the pdf-file inside this area.
Now I have the effect, that this pdf-file will opena a new window, but not inside the html container!?
First action before I have had this effect was the MS question-alert 'How you will open this file' Open/Download/Cancel - you know. - it never done before -
What can I do to open my pdf-file inside the html container? It runs some times.
Thanks!thank you for your answer, but it wasn't the solution.
I don't open the iView in a new window.
I open the iView (as IAC WebService via ITS) and the applacation generated a html container with pdf file!
And this pdf-file opens in a new window.
The Application runs up to now very good.
I think any value was changed and I don't know which.
It's possible the modification solved under MS or adobe!?
Solution: First Deinstallation and then Installation of Acrobate Reader.
Message was edited by: Ronald Kohn -
In R12, how to open new HTML page in a new window
When I do the Payment configuration in R12, sometime I need open Payment Admistrator and Payments Manager at the same time in different tab. But everytime if I have one opened and try to open the second one, it always replaces the first one instead of opening a new window. Please help!
974502 wrote:
When I do the Payment configuration in R12, sometime I need open Payment Admistrator and Payments Manager at the same time in different tab. But everytime if I have one opened and try to open the second one, it always replaces the first one instead of opening a new window. Please help!You can use multiple sessions and login to different responsibilities -- Please see these docs for details.
Is the Use of Multiple Forms Sessions in a Single Browser Session Supported? (11i & R12) [ID 879404.1]
Recommended Browsers for Oracle E-Business Suite Release 12 [ID 389422.1] -- Multiple Sessions
Thanks,
Hussein -
DW CS4 Help with jump menu opening a new window.
First, I can't believe that Adobe left out an easy to use behavior to do this.
I have some jump menus, and I would like the selection to open up a new window and have the content appear there. I saw a couple of old topics here that offered some suggestions, but they didn't work for me. I could get it to open a new window, but the content was not there. I saw where you need to add a "GO" button, and add a "Open New Window"behavior to it. That is what opened the new window with new content. I do not have the "GO" buttons on the jump menus in this code, but did try it and it didn't work. If anyone can help and tell me how to do it, and where to place the code, I would greatly appreciate it.
I know this is long, but here is my code for the page.
<!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"><!-- InstanceBegin template="/Templates/Master_Template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Mickey Adams Index</title>
<!-- InstanceEndEditable -->
<link href="../twoColFixLtHdr.css" rel="stylesheet" type="text/css" />
<!--[if IE 5]>
<style type="text/css">
/* place css box model fixes for IE 5* in this conditional comment */
.twoColFixLtHdr #sidebar1 { width: 230px; }
</style>
<![endif]-->
<!--[if IE]>
<style type="text/css">
/* place css fixes for all versions of IE in this conditional comment */
.twoColFixLtHdr #sidebar1 { padding-top: 30px; }
.twoColFixLtHdr #mainContent { zoom: 1; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
<!-- InstanceBeginEditable name="head" -->
<script src="../SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<script src="../SpryAssets/SpryAccordion.js" type="text/javascript"></script>
<link href="../SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
<link href="../SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />
<!-- InstanceEndEditable -->
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
<link href="../CSS/global.css" rel="stylesheet" type="text/css" />
<!-- InstanceParam name="SecondTitle" type="boolean" value="true" -->
<!-- InstanceParam name="SecondContent" type="boolean" value="true" -->
<!-- InstanceParam name="OptionalRegionTitle_2" type="boolean" value="true" -->
<!-- InstanceParam name="OptionalRegion_2" type="boolean" value="true" -->
<!-- InstanceParam name="OptionalRegion1" type="boolean" value="true" -->
</head>
<body text="#000033" class="twoColFixLtHdr" title="What's New">
<div id="container">
<div id="header">
<h1>Richard Sinkler</h1>
<!-- end #header --></div>
<div id="sidebar1">
<ul id="MenuBar1" class="MenuBarVertical">
<li><a href="../index.html">Home</a> </li>
<li><a href="../About_Me.html">About me</a></li>
<li><a href="../Calendars/Calendar_menu.html">Calendars</a></li>
<li><a href="../What's New.html">What's New</a></li>
<li><a href="../Equipment.html">Equipment</a></li>
<li><a href="../Tunings.html">Tunings</a></li>
<li><a href="../Video_and_Sound/video_menu.html">Sound & Video</a></li>
<li><a href="../web_gallery.html">Photos</a></li>
<li><a href="Mickey_Adams_Menus.html">Mickey Adams</a></li>
<li><a href="../Website_Info.html">Website Info</a></li>
<li><a href="../Contact Me.html">Contact Me</a></li>
</ul>
<p class="justHostReferral">If you would like to get your own website, please click the <span class="justHostItalics">JUST HOST</span> logo below and it will take you the sign up page. I am a <span class="justHostItalics">JUST HOST</span> affiliate and get credit for referring you to their service.</p>
<p><a href="http://stats.justhost.com/track?ca5fb2154d5aabc236853ccef2513f2ec"><img src="http://affiliates.justhost.com/control/img/banners/justhost_125x125v2.gif" /></a> </p>
<h3 class="updated">Updated 7/18/2011
<!-- end #sidebar1 -->
</h3>
<p> </p>
</div>
<div id="mainContent">
<h1><!-- InstanceBeginEditable name="PageTitle" -->Mickey Adams Video Index<!-- InstanceEndEditable --></h1>
<!-- InstanceBeginEditable name="PageContent" -->
<p class="pageContent">Click a tab to open the category. <a href="Mickey_Adams_Menus.html" class="playbackCtrlMSg">Click to go back to Menu Page</a></p>
<div id="m_a_video_index" class="TabbedPanels">
<ul class="TabbedPanelsTabGroup">
<li class="TabbedPanelsTab" tabindex="0">BE</li>
<li class="TabbedPanelsTab" tabindex="0">BEX</li>
<li class="TabbedPanelsTab" tabindex="0">BEC</li>
<li class="TabbedPanelsTab" tabindex="0">Beginner</li>
<li class="TabbedPanelsTab" tabindex="0">Faux C6</li>
<li class="TabbedPanelsTab" tabindex="0">Uncategorized</li>
</ul>
<div class="TabbedPanelsContentGroup">
<div class="TabbedPanelsContent">
<p><strong><u>BE01</u></strong><u>:Beginners: 3 Moves to Master</u> <br />
<strong><u>BE04</u></strong><u>: Simple E9 Passage, Single Note</u> <br />
<strong><u>BE06</u></strong><u>: 4-5-1 In G, Using ABC Pedals</u> <br />
<strong><u>BE07</u></strong><u>: 1-2-5 Single Note+ 3 <strong>Stops</strong></u><br />
<u>BE 109a Close Intervals in C</u><br />
<strong><u>BE11</u></strong><u>: Beginner Steel Guitar, Cold Cold Heart</u> <br />
<strong><u>BE12</u></strong><u>: Cold Cold Heart Part II</u> <br />
<strong><u>BE16</u></strong><u>: Waltz Across Texas</u> <br />
<strong><u>BE24A</u></strong><u> Big City Turnaround</u> <br />
<strong><u>BE28</u></strong><u>: Your Man, Josh Turner</u> <br />
<strong><u>BE31</u></strong><u>: Minor Chords-Moondance</u> <br />
<strong><u>BE34</u></strong><u>: 3 Moves to Master, Part II</u> <br />
<strong><u>BE36</u></strong><u> Harmonics, Overtones</u> <br />
<strong><u>BE40</u></strong><u> 2M-5-1 Faux C6 Moves for Cherokee Maiden</u></p>
<p><strong><u>BE41</u></strong><u> Second String Usage</u></p>
</div>
<div class="TabbedPanelsContent">
<p><strong><u>BEX1</u></strong><u>: A+B Repetitious Excercise, Major Key</u> <br />
<strong><u>BEX2</u></strong><u> Pick Blocking Dexterity Excercise II</u> <br />
<strong><u>BEX6A</u></strong><u>-Pick Blocking Exercise B+C, F</u> <br />
<strong><u>BEX7</u></strong><u> Speedpicking Lesson 1 Revision 1</u> <br />
<strong><u>BEX12</u></strong><u>: G Major, Lesson 2-Pedal Changes, Chord Forms</u> <br />
<strong><u>BEX14</u></strong><u>: D7, G Lever Programming, Speed</u> <br />
<strong><u>BEX16</u></strong><u>: G Major-Lesson 1</u> <br />
<strong><u>BEX16a</u></strong><u> G major Descending Exercise</u> <br />
<strong><u>BEX17</u></strong><u>: Pick-Blocking 101, Beginner Steel Guitar</u> <br />
<strong><u>BEX21</u></strong><u> Faux C6, 1-4-5-1</u> <br />
<strong><u>BEX21</u></strong><u>-2-5-1 Chord Change</u> <br />
<strong><u>BEX21</u></strong><u> Alternating Fingering Excercise</u> <br />
<strong><u>BEX21</u></strong><u> Glissando Excercise 1</u> <br />
<strong><u>BEX25</u></strong><u> Faux C6 1-5-1 in D</u> <br />
<strong><u>BEX27</u></strong><u> C Pentatonic Scale Ex1</u> <br />
<strong><u>BEX27a</u></strong><u> C Pentatonic Ex2</u> <br />
<strong><u>BEX27b </u></strong><u>A Blues Pattern</u> <br />
<strong><u>BEX28</u></strong><u> Pedal & Lever Excercises for Beginners</u> <br />
<strong><u>BEX 92</u></strong><u> D7 Exercise</u> <br />
<strong><u>BEX 93</u></strong><u> 2 String Exercise, Lever I, Pedal H</u></p>
</div>
<div class="TabbedPanelsContent">BEC
<div id="Accordion1" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab">BEC pg. 1</div>
<div class="AccordionPanelContent">
<p><u>BEC4: Blue Eyes Elton John</u> <br />
<u>BEC6 Broken Wing</u> <br />
<u>BEC15: Goin Through the Big "D"</u> <br />
<u>BEC25: I Sang Dixie, Take II</u> <br />
<u>BEC31: Beginner Steel-Longer, Fogelberg</u> <br />
<u>BEC32: Longer, Flute Solo, Fogelberg</u> <br />
<u>BEC35: Nobody In His Right Mind</u> <br />
<u>BEC41: Too Cold At Home Intro, Mark Chestnutt</u> <br />
<u>BEC45: Teach Your Children: Intro</u> <br />
<u>BEC48: Take Your Memory With You</u> <br />
<u>BEC52 Thinking Thing Intro</u> <br />
<u>BEC54: What A Wonderful World</u> <br />
<u>BEC66: Solo, Look At Us</u> <br />
<u>BEC69: Somewhere Over The Rainbow, Bridge</u> <br />
<u>BEC73: Empty Glass Intro</u> <br />
<u>BEC77: Set-em Up Joe Vern Gosdin</u> <br />
<u>BEC78- So Much It Hurts Me Part 1</u> <br />
<u>BEC78a So Much It Hurts Me Part 2</u> <br />
<u>BEC81, Who Needs You Baby, Clay Walker</u> <br />
<u>BEC82 City Lights</u></p>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">BEC pg. 2</div>
<div class="AccordionPanelContent">
<p><u>BEC83 Save The Honky Tonks, Mark Chestnutt</u> <br />
<u>BEC84 Faux C6, Deep Water Intro, Beginners</u> <br />
<u>BEC85 There's your Trouble Intro</u> <br />
<u>BEC86 Panama Red Intro, Remake</u> <br />
<u>BEC88 Diamond Rio One More Day Intro</u> <br />
<u>BEC89 Turnaround In C</u> <br />
<u>BEC89 Oh Little Town of Bethlehem</u> <br />
<u>BEC90 I Had A Beautiful Time, Solo</u> <br />
<u>BEC91 White Christmas</u> <br />
<u>BEC91a White Christmas</u> <br />
<u>BEC91c White Xmas, Improvising</u> <br />
<u>BEC92 Farewell Party Intro Simplified</u> <br />
BEC 92a Farewell Party Solo, Mike Johnson<br />
<u>BEC93-This Ain’t My First Rodeo-Intro</u> <br />
<u>BEC-94 Third Rate Romance Solo</u> <br />
<u>BEC-95 Crazy Arms Intro, Patty Loveless</u> <br />
<u>BEC-96 Bar Room Roses Intro Troy Cassar Daley</u> <br />
<u>BEC-97 Close Up the Honky Tonks-Intro</u> <br />
<u>BEC98-Turnaround 5-1, BC,+E-lever</u> <br />
<u>BEC-99 Single Note Run in D</u></p>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">BEC pg. 3</div>
<div class="AccordionPanelContent">
<p><u>BEC 100 Different Light Doug Stone Intro E9</u> <br />
<u>BEC 100 When Love Comes Around Intro Alan</u> <br />
<u>BEC 100 Take It Easy</u> <br />
<u>BEC101 Fourteen Minutes Old Intro Doug Stone</u> <br />
<u>BEC101 Bars Of Steel Bridge</u> <br />
BEC 101 Beneath Still Waters<br />
<u>BEC 102 Could I Have This Dance Intro</u> <br />
<u>BEC 103 Bars of Steel, Bridge</u> <br />
<u>BEC 106 Legend In My Time</u> <br />
<u>BEC107 When Did You Stop Loving Me Intro</u> <br />
<u>BEC 109 Getting Over You Again Intro Gene Watson</u> <br />
<u>BEC 110 Baby Thats Cold Intro</u> <br />
<u>BEC 111 Panama Red Solo Part 1</u> <br />
<u>BEC 111a Panama Red Solo, Part II</u> <br />
<u>BEC 111 Where Have I Been All My Life Intro</u> <br />
<u>BEC-112 Help Me Make it Through the Night.mpg</u> <br />
<u>BEC-118 Faux C6-1-6-2-5.mpg</u> <br />
<u>BEC-113 Way To Survive, Lesson 1.mpg</u> <br />
<u>BEC113a Way to Survive Lesson 2.mpg</u></p>
</div>
</div>
</div>
</div>
<div class="TabbedPanelsContent">
<p><u>Beginner Steel Guitar, Cmajor in 3rds</u> <br />
<u>Beginner Pedal Steel, Cross Picking, B Pedal</u> <br />
<u>Beginner Steel Guitar: San Antonio Rose</u> <br />
<u>Beginner Steel Guitar: Wonderful Tonight</u> <br />
<u>Beginner Steel Guitar: Oceanfront Property</u> <br />
<u>Beginner Steel-When you Say Nothing At All</u> <br />
<u>Memphis Tennessee, Beginner Steel Guitar</u> <br />
<u>Beginner Steel Guitar, Major Scale Excercise</u> <br />
<u>Beginner Steel, Amazing Grace</u></p>
</div>
<div class="TabbedPanelsContent">
<p><u>Walking After Midnight Faux C6</u> <br />
<u>All My Ex's Intro Faux C6 for the E9 Neck</u> <br />
<u>Faux C6 Turnaround in A</u> <br />
<u>5 1 Faux C6, Single note Passage</u></p>
</div>
<div class="TabbedPanelsContent">
<div id="Accordion2" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab">Uncategorized pg. 1</div>
<div class="AccordionPanelContent">
<p><u>Simple Intro in C</u> <br />
<u>Panama Red Intro E9 Pedal Steel Guitar</u> <br />
<u>Danny Boy, E9</u> <br />
<u>Highway 40 Blues Intro, E9</u> <br />
<u>Diatonic Scale Movement In G</u> <br />
<u>1-7-4 1-2-4-5-1 Pedal Steel Guitar Intro</u> <br />
<u>1-4 Counterpoint Move in F, Very Effective</u> <br />
<u>Gene Watson Intro-Got No Reason Now for Going</u> <br />
<u>BIG CITY! Merle Haggard, Simple, Straightforward</u> <br />
<u>Someday Soon!..Simple, Great Solo!</u> <br />
<u>Texas Tornado, Tracy Lawrence, Intro and Solo</u> <br />
<u>Pick Dragging: Technique, Short Clip</u> <br />
<u>Key-A Turnaround, Blues/Diminished Walk</u> <br />
<u>Hello Trouble-JayDee Maness/ Desert Rose-</u> <br />
<u>Memories To Burn, Solo, Gene Watson</u> <br />
<u>When I Call Your Name</u> <br />
<u>Cross My Heart Solo, George Strait</u> <br />
<u>But For the Grace of God, Keith Urban</u> <br />
<u>I Never Go Around Mirrors, Gene</u> <br />
<u>Cryin My Heart Out, Ricky Skaggs</u> <br />
<u>Lonesome LA Cowboy Solo, Buddy Cage</u></p>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Uncategorized pg. 2</div>
<div class="AccordionPanelContent">
<p><u>Teach Your Children:Quick Solo</u> <br />
<u>1982 Intro:Randy Travis</u> <br />
<u>Check Yes or No</u> <br />
<u>Fire On The Mountain, Marshall Tucker</u> <br />
<u>Buds Bounce, Simplified, Part 1</u> <br />
<u>Tonight The Heartache's On Me, Solo, Dixie Chicks</u> <br />
<u>Heartbroke, Steel Chords</u> <br />
<u>Funny How Time Slips Away</u> <br />
<u>Bars of Steel</u> <br />
<u>Blue, Leann Rimes</u> <br />
<u>Supernaw-Wishing Her well, Intro</u> <br />
<u>Look At Us, Johny Hughey, Intro</u> <br />
<u>Over The Rainbow Verse</u> <br />
<u>Discussion, Right Hand</u> <br />
<u>Verse, Help Me Make It Through The Night</u> <br />
<u>Rolling Pick Technique 2-5-1</u> <br />
<u>3 Octave Descending D7 Single Note Run</u> <br />
<u>Descending 5-1 Turnaround in A</u> <br />
<u>Pick Blocking Dexterity Excercise 1</u> <br />
<u>Alone In SanAntone</u></p>
</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
<!--
var TabbedPanels1 = new Spry.Widget.TabbedPanels("m_a_video_index", {defaultTab:2});
var Accordion1 = new Spry.Widget.Accordion("Accordion1");
var Accordion2 = new Spry.Widget.Accordion("Accordion2");
//-->
</script>
<!-- InstanceEndEditable -->
<h2>
<!-- end #mainContent -->
</h2>
</div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
<div id="clear"></div>
<div id="footer">
<p><a href="../index.html" class="footer_links">Home</a> <a href="../About_Me.html" class="footer_links">About Me</a><a href="../Calendars/Calendar_menu.html" class="footer_links">Calendars</a> <a href="../Equipment.html" class="footer_links">Equipment</a> <a href="../Tunings.html" class="footer_links"> Tunings</a> <a href="../Video_and_Sound/video_index.html" class="footer_links">Sound & Video</a><a href="../web_gallery.html" class="footer_links">Photos</a><a href="Mickey_Adams.html" class="footer_links">Mickey Adams </a><a href="../Website_Info.html" class="footer_links">Website Info</a><a href="../Contact Me.html" class="footer_links">Contact Me</a></p>
<p class="copyright"><span class="copyright"><span class="circleC"><span class="copyright"><span class="circleC">©</span></span></span><span class="copyright"> Copyright 2011 - Richard Sinkler - All Rights Reserved</span></span></p>
<p class="copyright"><span class="copyright"><span class="copyright">Website designed by Richard Sinkler</span></span></p>
<!-- end #footer --></div>
<!-- end #container --></div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
<!-- InstanceEnd --></html>I'm confused by your post and code. Adobe has a function to do this. In the Insert Toolbar under the Tab "Forms" there is an option to create a jump menu. The only options that menu gives you is the same window or a frame on the page (a very outdated action looking at it now). But with basic knowledge of links you insert the menu and you will get code like:
<select name="jumpMenu" id="jumpMenu" onChange="MM_jumpMenu('parent',this,0)">
The "parent" denotes that this will open in the same window. If you change that to "blank" then it will open in a new window. A "Go" button is optional and also available in the DW GUI when you set up a jump menu.
http://www.w3schools.com/tags/att_a_target.asp -
Word hyperlinks converted to PDF-open in new window???
I currently use Word 2007 to build indexes with hyperlinks and convert to PDF using Adobe Professional 9. I know how to set my Adobe preferences so that hyperlinks open in a new window, but I want to set this on the document level for each index I create. I also know how to set each link within the final pdf to open in a new window (if I go through each and every link preference). I must create the hyperlinks in Word as there are many instances that my indexes change prior to distribution of the discs and I don't like having to duplicate, triplicate, etc. my linking process in Adobe as some of my indexes contain 300+ links. I only know of JavaScript but not enough to use with confidence... I want the hyperlinks to open in new windows (as that has always been my instructions to the end user) without the end user having to fumble around with their systems and settings. It has just been brought to my attention that my discs do not have that function set. Meaning, that what I view and test on my system is not the same as the end user. The hyperlinks open in the same window (dang it!!). I did see a JavaScript solution but keep getting an error (on line 2). Here is the JavaScript I found in the forum: app.openInPlace = false; //Opens cross-document links in separate windows.
So, I have muliple questions...
Is this sript the best way to accomplish the document level open in a new window function?
Is this script written correctly? (I did cut and paste this script within the brackets)
If I use the JavaScript and save, does that save in the Adobe application system or just on the document level? And then how do I delete if it doesn't work properly?
What other functions can you suggest I try?
Any suggestions would be helpful!Where did you place that script, exactly?
It should work, there's probably just an error in how you added the text of the script. Try removing the comment so that there's only one line of code:
app.openInPlace = true;
Note that this changes the user preference, which is generally frowned upon, so you should endeavor to set it back to what it was in the first place when the document is closed. This would involve storing the value of this property when the document opens, change it if necessary, and restore it when the document closes. It also won't work for those users who have JavaScript disabled.
Unfortunately, link annotations are difficult to alter in an automated way given what's available in Acrobat. It would be possible with an Acrobat plug-in to make document-wide changes to all of the links, but I'm not aware of any that do this. You might want to search around. -
Menu opens in new window, need to change it
what is making the buttons in the menu to open pages in new window on the top menu, here is the code (target="top" at the end of a link doesnt help):
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- Beginning of compulsory code below -->
<link href="http://www.tuning.ru/css/dropdown/dropdown.css" media="screen" rel="stylesheet" type="text/css" />
<link href="http://www.tuning.ru/css/dropdown/themes/nvidia.com/default.advanced.css" media="screen" rel="stylesheet" type="text/css" />
<!--[if lt IE 7]>
<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript" src="js/jquery/jquery.dropdown.js"></script>
<![endif]-->
<!-- / END -->
</head>
<body>
<!-- Beginning of compulsory code below -->
a href="Link" target="top">Name
<!-- / END -->
</body>
</html>
Message was edited by: platinummf
Message was edited by: platinummfTry "_blank".
Open in new window
which gives you this: Open in new window
OT -
List-Items (Type=URL) - how to open in New Window
I use a List for deliver information in a region.
The list consist of some URLs.
I would like to open a new Window (not use the active Window), if one element was clicked.
With html-text-region I could user "target=...", but this is not usable in the List entries, it should be a simple URL.
Have we any attributes for such a behavior?Lutz,
You can achieve what you want in a list template. For example the sample application uses the following fragment in the Standard Unordered List template:
<li>#TEXT#</li>
Simple change that to
<li><a target="new" href="#LINK#" style="font-weight:bold;" class="list">#TEXT#</a></li>
or something similar.
Sergio -
Can somebody help me to solve the below code issue - when user clicks on the "flash1.swf", I want to open in new window and play the media player?
Right now below code plays at same place....
=================================================================================
<script language="JavaScript">
function Player(whichone,cnt)
var idisplay = document.getElementById(whichone);
if (idisplay.style.display == "none")
idisplay.style.display="block";
else
idisplay.style.display="none";
</script>
<a href="##" onclick="Player('Player1','temp1');" style="vertical-align:top;">flash1.swf</a>
<div id="player1" style="display:none">
<table>
<tr>
<td>
<OBJECT ID="temp1" WIDTH="255" HEIGHT="250" CLASSID="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6"
VIEWASTEXT TYPE="application/x-mplayer2">
<PARAM NAME="URL" VALUE="flash1.swf">
<PARAM name="autostart" VALUE="false">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="true">
<PARAM name="ShowDisplay" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="flash1.swf" NAME="MediaPlayer" WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="1" ShowDisplay="0" autostart="0"> </EMBED>
</OBJECT>
</td>
</tr>
</table>
</div>Hi there,
how about you use the new cfwindow tag? heres what you can do, ceate a cfwindow then pass on your javascript variable, and display the code in there. Now, note that cfwindow takes full html syntax. For example, an <html> tag down to end </html>. Ill how you an example:
<cfwindow name="example" title="here is my video" modal="yes" initshow="false">
<html>
<head>
<script>
</script>
<body>
</body>
</cfwindow>
and now initialize your content in the cfwindow, and make it dynamic with whatever you wanna display using javascript. Get creative
please let me know if that helped
Ali -
Launch Finder Without Opening a New Window
Hello,
I'm making an application that resizes the icons on the desktop, and I would like to know if it's possible to launch the the Finder without it automatically opening a new Finder window.
My, Applescripts look something like this right now..
on «event coVScliI» theObject
(do shell script "defaults write com.apple.finder DesktopViewOptions -dict IconSize -integer 70")
(do shell script "killall Finder")
tell application "Finder"
activate
end tell
end «event coVScliI»
The reason for my killing the Finder in the first place is because it needs to be restarted for the changes to take affect.Hi,
If you don't mind using [GUI Scripting|http://www.macosxautomation.com/applescript/uiscripting/index.html], then the following script should relaunch the Finder without opening any new window (at least it does on Mac OS X 10.6.2) :
tell application "Finder" to activate
tell application "System Events"
key code 53 using {option down, command down} -- ⌥⌘⎋
click (row 1 of table 1 of scroll area 1 of window 1 of process "loginwindow" whose value of text field 1 is "Finder")
keystroke return
keystroke return
keystroke "w" using command down -- ⌘W
end tell
(If the script doesn't work properly on your computer, first try adding a “delay” statement before the problematic line of code, for example “delay 0.2”.) -
Why does my lightbox keep opening a new window?
I'm currently finishing off my website and all I need to do that is make four images click into their own seperate light boxes.
I number of my code savy friends cannot find anything wrong with my code.
The problem is that when I click on the image online it opens a new window and to get back to the orginal page you have to go 'back'
this clearly isn't what a lightbox should do, is there something in my code which is wrong and making it do this? Or can I add something.
The 4 divs involved in this are named Rochelle, Jacob, Jared and Helena.
<!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>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery.lightbox-0.5.js"></script>
<link href="jquery.lightbox-0.5.css" rel="stylesheet" type="text/css" media="screen" />
<link href='http://fonts.googleapis.com/css?family=Allerta' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Dosis:700' rel='stylesheet' type='text/css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript">
$(function() {
$('#gallery a').lightBox();
</script>
<title>Organ Donation</title>
<style type="text/css">
#Container {
height: 1100px;
width: 850px;
margin-right: auto;
margin-left: auto;
#Header {
height: 183px;
width: 850px;
position: absolute;
top: 0px;
z-index: 6;
#footer {
height: 72px;
width: 850px;
margin-left:0px;
margin-top:1025px;
position: absolute;
top: 16px;
#title {
height: 195px;
width: 810px;
margin-top: 180px;
margin-left: 20px;
position: absolute;
z-index:2;
#Rochelle {
height: 325px;
width: 425px;
margin-top: 370px;
margin-left: 425px;
position: absolute;
#navigation {
height: 25px;
width: 850px;
margin-top: 140px;
position: absolute;
font-family: 'Allerta', sans-serif;
color: #FFF;
text-align: center;
font-size: 13px;
z-index: 7;
#click {
font-family: 'Dosis', sans-serif;
font-size: 18px;
color: #0094AB;
height: 100px;
width: 300px;
margin-top: 390px;
margin-left: 560px;
position: absolute;
z-index:4;
font-weight: normal;
#bottomNav {
height: 20px;
width: 850px;
margin-top: 1055px;
position: absolute;
z-index: 4;
font-family: 'Allerta', sans-serif;
color: #FFF;
font-size: 13px;
text-align: center;
#helena {
height: 325px;
width: 425px;
margin-top: 695px;
margin-left: 0px;
position: absolute;
#jared {
height: 325px;
width: 425px;
margin-top: 695px;
margin-left: 425px;
position: absolute;
#jacob {
height: 325px;
width: 425px;
margin-top: 370px;
margin-left: 0px;
position: absolute;
a:link {
color: #FFF;
text-decoration: none;
a:visited {
text-decoration: none;
color: #FFFFFF;
a:hover {
text-decoration: none;
color: #FFF;
a:active {
text-decoration: none;
</style>
</style>
<script type="text/javascript">
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
</script>
</head>
<body>
<div id="Container">
<div id="click">Click the photos to read their stories</div>
<div id="Rochelle"><a href="images/ROCHELLE2.jpg" title="Rochelle's Story"><img src="images/rochelle.jpg" width="425" height="325" /></a></div>
<div id="jacob"><a href="images/JACOB2.jpg" title="Jacob's Story"><img src="images/jacob.jpg" width="425" height="325" alt="jacob" /></a></div>
<div id="jared"><a href="images/JARED2.jpg" title="Jared's Story"><img src="images/Jared.jpg" width="425" height="325" /></a></div>
<div id="helena"><a href="images/HELENA.jpg" title="Helena's Story"><img src="images/helenafirst.jpg" width="425" height="325" /></a></div>
<div id="Header"><img src="images/header.jpg" width="850" height="183" /></div>
<div id="stories">
<div id="title"><img src="images/title4.jpg" width="810" height="195" /></div>
<div id="body1"></div>
</div>
<div id="footer"><img src="images/bottombar.jpg" width="850" height="72" /></div>
<div id="navigation"><a href="index.html">Home</a> | <a href="WhatIsIt.html">What is it?</a> | <a href="WhatHappens.html">What Happens?</a> | <a href="whichorgans.html">Which Organs?</a> | <a href="stories.html">Donation Stories</a></div>
<div id="bottomNav"><a href="index.html">Home</a> | <a href="WhatIsIt.html">What is it?</a> | <a href="WhatHappens.html">What Happens?</a> | <a href="whichorgans.html">Which Organs?</a> | <a href="stories.html">Donation Stories</a></div>
</div>
</body>
</html>Replace your FULL HTML file with this code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery.lightbox-0.5.js"></script>
<script type="text/javascript">
$(function() {
$('#gallery a').lightBox();
</script>
<link href="jquery.lightbox-0.5.css" rel="stylesheet" type="text/css" media="screen" />
<link href='http://fonts.googleapis.com/css?family=Allerta' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Dosis:700' rel='stylesheet' type='text/css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Organ Donation</title>
<style type="text/css">
#Container {
height: 1100px;
width: 850px;
margin-right: auto;
margin-left: auto;
#Header {
height: 183px;
width: 850px;
position: absolute;
top: 0px;
z-index: 6;
#footer {
height: 72px;
width: 850px;
margin-left:0px;
margin-top:1025px;
position: absolute;
top: 16px;
#title {
height: 195px;
width: 810px;
margin-top: 180px;
margin-left: 20px;
position: absolute;
z-index:2;
#Rochelle {
height: 325px;
width: 425px;
margin-top: 370px;
margin-left: 425px;
position: absolute;
#navigation {
height: 25px;
width: 850px;
margin-top: 140px;
position: absolute;
font-family: 'Allerta', sans-serif;
color: #FFF;
text-align: center;
font-size: 13px;
z-index: 7;
#click {
font-family: 'Dosis', sans-serif;
font-size: 18px;
color: #0094AB;
height: 100px;
width: 300px;
margin-top: 390px;
margin-left: 560px;
position: absolute;
z-index:4;
font-weight: normal;
#bottomNav {
height: 20px;
width: 850px;
margin-top: 1055px;
position: absolute;
z-index: 4;
font-family: 'Allerta', sans-serif;
color: #FFF;
font-size: 13px;
text-align: center;
#helena {
height: 325px;
width: 425px;
margin-top: 695px;
margin-left: 0px;
position: absolute;
#jared {
height: 325px;
width: 425px;
margin-top: 695px;
margin-left: 425px;
position: absolute;
#jacob {
height: 325px;
width: 425px;
margin-top: 370px;
margin-left: 0px;
position: absolute;
a:link {
color: #FFF;
text-decoration: none;
a:visited {
text-decoration: none;
color: #FFFFFF;
a:hover {
text-decoration: none;
color: #FFF;
a:active {
text-decoration: none;
</style>
<script type="text/javascript">
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
</script>
</head>
<body>
<div id="Container">
<div id="click">Click the photos to read their stories</div>
<div id="gallery">
<div id="Rochelle"><a href="images/ROCHELLE2.jpg" title="Rochelle's Story" rel="lightbox"><img src="images/rochelle.jpg" width="425" height="325" /></a></div>
<div id="jacob"><a href="images/JACOB2.jpg" title="Jacob's Story" rel="lightbox"><img src="images/jacob.jpg" width="425" height="325" alt="jacob" /></a></div>
<div id="jared"><a href="images/JARED2.jpg" title="Jared's Story" target="_self" rel="lightbox"><img src="images/Jared.jpg" width="425" height="325" /></a></div>
<div id="helena"><a href="images/HELENA.jpg" title="Helena's Story" rel="lightbox"><img src="images/helenafirst.jpg" width="425" height="325" /></a></div>
</div>
<div id="Header"><img src="images/header.jpg" width="850" height="183" /></div>
<div id="stories">
<div id="title"><img src="images/title4.jpg" width="810" height="195" /></div>
<div id="body1"></div>
</div>
<div id="footer"><img src="images/bottombar.jpg" width="850" height="72" /></div>
<div id="navigation"><a href="index.html">Home</a> | <a href="WhatIsIt.html">What is it?</a> | <a href="WhatHappens.html">What Happens?</a> | <a href="whichorgans.html">Which Organs?</a> | <a href="stories.html">Donation Stories</a></div>
<div id="bottomNav"><a href="index.html">Home</a> | <a href="WhatIsIt.html">What is it?</a> | <a href="WhatHappens.html">What Happens?</a> | <a href="whichorgans.html">Which Organs?</a> | <a href="stories.html">Donation Stories</a></div>
</div>
</body>
</html>
Here's what I've changed:
Added '<div id="gallery">' to your code before the lightbox gallery. If you read the Lines 9-13 of your HTML, your lightbox definition says that any 'a' links inside 'gallery' container will be lightbox enabled. In your actual gallery code, 'gallery' div was not present. Hence, Lightbox did not find any image links to load. Now, I've added the Div ID as Gallery. It works.
Hope it helps. -
When I click on any link, the browser opens a new window. I have searched the browser options to fix this and have not found a place to select a different option. I have reset Firefox and checked all of my plugins and have not found anything that seem to be related to my problem. Sometimes, Firefox will work normally for the first few minutes of use and then start opening a window for everything.
By normally, I mean that I click a link and it opens the link in the same tab that I'm browsing. Some links will open in a new tab, depending on the type of link. Mostly, they open in new windows no matter what.Boot the computer in Windows Safe mode with network support (press F8 on the boot screen) as a test to see if that helps.
*http://www.bleepingcomputer.com/tutorials/how-to-start-windows-in-safe-mode/
Do a malware check with several malware scanning programs on the Windows computer.
Please scan with all programs because each program detects different malware.
All these programs have free versions.
Make sure that you update each program to get the latest version of their databases before doing a scan.
*Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
*AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
*SuperAntispyware:<br>http://www.superantispyware.com/
*Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
*Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
*Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
*Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
You can also do a check for a rootkit infection with TDSSKiller.
*Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
See also:
*"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
*https://support.mozilla.org/kb/troubleshoot-firefox-issues-caused-malware -
when I launch firefox get the following message "firefox is already running, but is not resonding. to open a new window, you must first close the existing firefox process, or restart your system" firefox not running and a restart doesn't solve the problem
Download a fresh Firefox copy and save the file to the desktop.
*Firefox 12.0.x: http://www.mozilla.org/en-US/firefox/all.html
Uninstall your current Firefox version, if possible.
*Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will also lose your personal data like bookmarks and passwords from profiles of other Firefox versions.
Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
*It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
*http://kb.mozillazine.org/Uninstalling_Firefox
Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
*http://kb.mozillazine.org/Profile_folder_-_Firefox
See also:
*https://support.mozilla.org/kb/Firefox+is+already+running+but+is+not+responding
*http://kb.mozillazine.org/Profile_in_use
*http://kb.mozillazine.org/Recovering_a_missing_profile -
How to Set Individual Managed Metadata Navigation Links to Open in New Window?
I am using a managed metadata term set for the global navigation in my client's site. Most of the global navigation links point to pages in the current site, and should open in the current browser window/tab as the end user is just navigating within the
site content. However, I have one particular node in the navigation term set that points to related content scattered around other external sites. The client wants these links to open a new window.
Unfortunately, I can't seem to set the target for navigation links in the term set. If I was using standard global navigation, I'd be able to select the "Open in new window" checkbox when setting up the link, but that option doesn't appear to be
supported via MMD navigation.
Any clever suggestions?
Thanks!I had a similarish requirement at a client once upon a time, they wanted any links that went outside of the intranet web applications to open in a new window.
The way we managed that was to use jQuery to overwrite the standard hyperlink references for any hrefs that didn't point to internal sites to use the same javascript functions that SharePoint used for links configured to open in a new window. It worked out
as being about half a dozen lines; check the URL and if it doesn't begin with a set range of options then overwrite the on click behaviour using standard jQuery behaviour.
If you want it site wide then you just add jQuery and the code snippet to the master page, if you just want it in some places then add a CEWP or a HTML form web part to the relevant pages.
Maybe you are looking for
-
ICloud Error: There was a problem completing backup. Try again Later.
I have my iOS5 installed and everything is working correctly except for iCloud. For some reason I cannot backup to it. My sister and I are both on my apple id account and hers works fine, but mine doesnt. It says the next backup will be 0Bytes; to
-
Top of List event when using class cl_salv_hierseq_table
Hi all, I am using above class to display Top of List . I am to able to display one line at top using following : gr_hierseq->set_top_of_list( lr_content ). But i have to display 5 lines in top of list. Please let me know how can this be achieved.
-
File2Idoc Scenario(whr am supposed to define these following things ?)
Hi All, Iam new to XI. I started with this FILE2IDOC scenario.So i configured 1 third party & 1 Abap system in SLD as techinical systems..and assigned them to the Business system respectively.so now sender is the third party(File adapter) and reciev
-
Occasionally i have pdf's that come to me that display a blank sheet in reader. The last was sent to me as the customer could only view it in google (which made me think it was a webp) but it was a pdf and was the same for me, blank in reader but ope
-
Please convert decode query to case expression
Please convert decode query to case expression Decode(Sign(id), 1, id, null) positive, Decode(Sign(id), -1, id, null) negative from dual;