Where to put js that should show on every page, like Appex have?

In every page header there are entry like:
<+html lang="hr" xmlns:htmldb="http://htmldb.oracle.com">
<+head>
<+script src="/i/javascript/htmldb_html_elements.js" type="text/javascript"></script>
<+script src="/i/javascript/htmldb_get.js" type="text/javascript"></script>
<+script language="JavaScript" type="text/javascript">
<+!--
/*Global JS Variables*/
+var htmldb_Img_Dir = "/i/";1) I would like to know where to put some of my js to be loaded automatically on every page regardless current theme (like in above example).
2) If I want to some js be shown on template based filter.
What is bothering me is that i would like to put some js on every page where for instance report template is loaded...what is the best way for that?
THX!

Hello,
If you only want it to load on pages with a certain template on way to do it just put the link into the footer of the template itself.
So the end of you report template would look like
....&lt;/table>
&lt;script src="/i/mystuff/my.js" type="text/javascript">&lt;/script>
It doesn't make for the best html code but the effect is what you want without having to do any conditions or run a separate page template or do to much on a bunch of different pages.
Carl

Similar Messages

  • 1. Firefox Help 2. Search Refine your search Found 0 results for I have a lot of firefox downloads BUT can't find anything to click to see them - Where is the button that will show all Firefox downloads? in English in English

    1. Firefox Help
    2. Search
    Refine your search
    Found 0 results for I have a lot of firefox downloads BUT can't find anything to click to see them - Where is the button that will show all Firefox downloads? in English in English

    Tools > Downloads or {Ctrl + J} will open the Downloads window

  • I made a free website using iweb and my host is dropbox but it is not showing in every search engine,i have to use a proxy for my site to pop up

    i made a free website using iweb and my host is dropbox but it is not showing in every search engine,i have to use a proxy for my site to pop up

    Possibly because dropbox is not really a proper webhost - it might be better if you went and signed up for proper web hosting from somewhere like http://www.godaddy.com or http://www.hostexcellence.com.
    Have you told Google that you site exists?  If not, then you need to do so - http://www.google.com/addurl.

  • I created mega menu in adobe muse ( master page ) but the thing is when i preview the menu in other pages the stuff i alreahy had created will overlap the menu. Is there anything i can do fix that problem up. I'd like to have the menu overlap the stuff i

    I created mega menu in adobe muse ( master page ) but the thing is when I preview that menu in other pages contents I already had created will overlap the menu. Is there any options that would fix that problem up. I'd like to have the menu overlap the contents. That does not happen on master page ( master page looks good ) Thank you very much.

    Place the menu on its own layer above the rest of the page content.

  • Love App Tabs but have several that just show a white page as icon how do I get them to appear as a site logo?

    I love the new App Tabs but have several that when pinned just show a white page as the icon, so you have to mouse over them to figure out which one is which. Example is bankdirect.co.nz. Is there a way of getting the site logo to show up so you can see what is what at a glance but still have the nifty space saving size of the App Tab? Thanks!

    SergZak
    Thanks for that. I have to say that there were a couple of screens that appeared to show both the iPhone and iPad and it was the iPad that was showing the icon!
    It is not life threatening, I just thought that something had not installed as it should have.
    Demo
    Thanks for your comment.
    Cheers
    altv

  • In Safari on my iMac where parts a foreign site are showing on web pages I bring up.

    I have a problem with Safari on my iMac where parts of a foreign site are showing on web pages I bring up. I also run Firefox on the same computer with no such problem. Two malware programs have not found any problem that is relevant to or resolves the issue. Failing any other course that may fix this I am wondering if it is possible to replace Safari. Is there any way to do this? I have recently installed Yosemite, but I doubt that has any relevance. 

    Please understand, I am no geek. I am not wanting to change my default browser. My question may have been a little vague but what I wanted to know was whether (failing everything else) it was possible to delete Safari altogether and then reinstall a new one (Safari) somehow. I would think that may well get rid of the problem when it isn't a factor at all when I switch to using Firefox (which is also installed on my Mac).  As for the AdBlock, I'd prefer to avoid that if possible.

  • My i-tunes Wish List only shows the first page, it used to show all the pages- like the next page button is disconnected?

    My i-tunes Wish List only shows the first page- it used to show all the pages. Its a little like the next page button is disconnected?
    Any ideas?
    thanks
    Simon

    I would say all types. Any kind of document/ file that has multiple pages, I can't get to the next page.

  • Is there a place in my CS6 that will show the key so I can have Mac do a data transfer?

    My college provided all design graduates with a Macbook with CS6 Illustrator, Photoshop, InDesign, Dreamweaver, Fireworks, Bridge, Extension manager, and Flash installed and registered with the key to Adobe. My laptop that they gave has gone bad and is being replaced this weekend by myself since my school won't fix it(per their contract they are required to so I plan to go after them for this but int he meantime) The school never provided us with the license key for this CS6, they did the install themselves, is there a place in my programs on my laptop that I can go to in order to get this key so I can have Mac do a data transfer?

    Thanks, thats  a good resource. However, it doesn't help in my situation, I didn't [urchase this or install it directly thru Adobe, as stated my college, College america(famous for their promotion that if you go to school with them and graduate you get a free laptop with all of CS6 included) this means they installed it as a mass install on all Design students laptops. They originally gave us CS5 then sent us a link to a site for upgrading to CS6, the email said this from the college;
    Great News Regarding the Upgrade to CS6:
    As it has been announced in your Design courses the free upgrade to CS6 is now available for all active Graphic Arts and Web Design students.
    To get the upgrade please follow these 3 simple steps:
    1-     Copy and paste this link to your web browser:  getmyisos.myvalcom.net
    2-     Select the download for your specific computer (Mac or HP)
    It will take a long time to download, make sure you reset your “sleep” timer on your computer so it does not doze off during the download process.  When it is complete…
    When downloading the upgrade it (I guess, just speculating here) had the license bult in because it was never displayed it just downloaded and
    i have used it ever since. I of course tried contacting the school for this but when you graduate from them, and are no longer a potential student they can suck up to sell you on their courses, they stop responding and being nice.
    Does anyone have any other ideas? Is there a spot in the programs where if I open preferences in my Mac book or if I open he programs I can click something that displays the license in my laptop?
    Thanks

  • How do I get the "all floating" option in the "layout" to work?  Something happened that it stopped working.   I like to have several images on the screen at the same time.

    I like to work with several images at the same time on the photoshop elements 12 "expert" screen and used to be able to have the "all floating" option in the "layout", thereby altering each image differently on the screen.   I'm an artist and view multiple images while painting.   But now that option doesn't work for some reason.   Help!

    Editor preferences>general, turn Allow Floating documents, but then you may need to go to window>images>float all in windows to make it work for currently open files.

  • User writes notes that then appear on every page and added to

    Hi
    I want my users to be able to take notes and then for the notes input box to appear on all pages and even let the user add to their notes, which then appear on other pages.
    I did ask this before but they reply i got doesnt seem to work.
    Thanks

    Hi there
    If you can, please post a link to the answer that was given that doesn't seem to work. If you can't do that, please post back and just advise what it was.
    I'm not sure exactly who the original person that said this was, as the web seems to attribute different individuals. But it goes like this: The definition of insanity is repeating the same thing over and over an always expecting different results.
    Just so we don't seem insane...
    Cheers... Rick
    Click here for Adobe Certified Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • Why can't I swipe with two fingers to show the previous page like in Safari

    When I want to go to the previous page I can't do so by swiping two fingers to the right like I can in Safari with the new Lion operating system. I would like to set firefox to have this feature since it is very helpful in my work.

    I could not see this as well when I tried to post a link . It just shows the preview of the page. Facebook did not have this feature either.

  • I have a message that says "console.log:mikenote:prod" or something similar, that pops up on every page I go to, and it will often freeze up Firefox.

    I am currently at my winter residence. I took my laptop with me, and I prefer using Firefox over Internet Explorer. I had no problems checking my email through Roadrunner webmail until the last couple of weeks, then this issue began. When I get this message and try to X out or leave the page, it makes a very annoying sound. Now, it often freezes the page, and I have to restart the computer. Today, I tried looking at my email on Internet Explorer and I was successful. However, I would much rather use firfox. Any assistance would be greatly appreciated.

    Perform the suggestions mentioned in the following articles:
    * [https://support.mozilla.com/en-US/kb/Template:clearCookiesCache/ Clear Cookies & Cache]
    * [[Troubleshooting extensions and themes]]
    Check and tell if its working.
    May not be related to your problem but some of your Firefox Plugins are out-dated
    * Update All your Firefox Plugins -> https://www.mozilla.org/en-US/plugincheck/
    * '''When Downloading Plugins Update setup files, Remove Checkmark from Downloading other Optional Softwares with your Plugins (e.g. Toolbars, McAfee, Google Chrome, etc.)'''

  • Where to put my Airdisk/Drobo/Server/Whatever

    I am looking for advice in optimizing what I want to do with my external storage to get the most out of... uh, well, out of life. Or something.
    In the basement I have a Mac Mini connected to my TV that acts as my Tivo. It uses EyeTV with an external drive connected via Firewire (400). Works great.
    Two floors up I have an iMac that acts as my central computer. It is connected, via ethernet cable, to an Airport Extreme base station. The base station is connected to my DSL modem via ethernet cable and to another external drive via USB 2.0. Works pretty well...
    So that all laptops and the Mac Mini can access the media, my iTunes library is on the upstairs external drive (the one connected to the Airport). Generally no issue there, but lately I've noticed that movies and shows played from that drive might get jumpy when being watched on TV. I guess that may be because the media goes from the drive through the Airport, through two floors, then into the Mac Mini.
    Or maybe it's because the drive was getting ready to fail (it just did).
    So now I'm going to get a Drobo so that I never go through replacing a failed drive (and trying to recover it!) again. This is drive #3 for me in 5 years. (No more non-redundancy!) But the question is where to put it.
    Should I move the Airport and modem to the basement and connect the Drobo to the Airport? Should I just put it upstairs and chalk the slowness up to a failing drive? Should I connect the Drobo directly to the Mac Mini and share the drive (and will that lead to a new can of worms with the Airport)? And what cable connections should I use? I just learned that the USB bus pretty much handles everything through one place no matter how many ports you have, so I'm guessing I want to limit that...? But I only have 1 Firewire connection on the Mini...
    What do you guys think? And if you think there's a better forum to post this message in, let me know.
    Thanks in advance,
    Rick

    Hey CPC Guy,
    If at all possible, I'd find a way to set up your modem, router and its connected USB external drives somewhere centrally on the center floor. Then just connect wirelessly to it with the iMac.
    One cheap storage solution that I've used to this point is to buy a 7-port USB hub, connect it to the Airport, and then add multiple external USB drives. You can also run a central USB printer from there as well as a ethernet connected network printer if you wanted. I've run something like this for a couple of years. All on a one level home but centralized in it nonetheless. Works great. Wireless speeds are great.
    Some of these drives can serve as backup drives for the others, including your computers. I've used SuperDuper to backup over the network. A great source for dual drive enclosures is OWC (www.MacSales.com).
    Another solution that I'd recommend over the drobo is an HP Media Smart Windows Home Server. Similar to the drobo, but I think it is a much better, more flexible, cost effective solution. In fact, I'm installing one as I write this. Bought it for $500 with free shipping from Newegg.com. It comes with a 750GB SATA and has three more upgradeable bays. I got the EX485. There is a EX487 and a new smaller one that would work as well. You might compare this with what the drobo has to offer.
    There are supposed to have been some conflict with installing via a connected Airport Extreme, but I have not had that problem. The one caveat is that you have to initialize with a windows PC first. I run XP and Vista via VM Fusion so that isn't a problem. Then you can use it fine with a mac.
    Also, a friend who does data recovery for a living and is a die hard mac guy swears by Seagate (1) Samsung (2) and Hitachi (3). The highest rate of failures he has seen for many years is WD. I buy these three and I have been fortunate to not have one fail yet. Knock on wood. YMMV.
    If you're looking to expand specifically around the mini in the basement, you might try the USB hub approach mentioned above. However, I think if you can centralize all your media on the middle level then streaming distances are much shorter and backups are much easier and faster over cabled connections. I just enclose it all in a small footprint media cabinet.
    Ed

  • Worker supports a subset of the ActionScript APIs. Where do I find that list of the subset?

    ActionScript Workers (concurrency) supports a subset of the ActionScript APIs. For example you cannot access StageVideo or Stage3D from within a worker.
    I would expect to find this list of supported API's (or the list of API's that are excluded) at:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/Worker.htm l
    But I did not find it there.
    Where do I find that list shows you which ActionScript API's are not supported within a worker?

    But... you CANNOT implement, edit, or change ANYTHING having to do with Actionscript in Flash Player. Just like you can't create and edit movies with a home DVD player. It's a player only and it reads and executes A/S. Additionally, you cannot do ANYTHING with APIs in Flash Player. It's a browser Plugin and nothing more.
    As I stated previously, the Flash Professional forum is where people who know ActionScript, and API implementation are. I "dabbled" in Flash for a little while recently, and I know a few lines of ActionScript, like how to stop an SWF at the end of an animation, so it doesn't repeat, but that's all I know and it's probably more than most people in this forum.
    I'm not trying to be a wiseapple... I'm simply pointing you in the direction that will get you the best answers to your question.

  • Where to put page redirect code when using htp.prn

    Apex 4.0 oracle 11g.
    The user starts on page 7, chooses rows from a list and clicks a Run button which redirects them to page 10 which has a process (on load before header) using htp.prn to create a text file which the user then can save. The end of this process has apex_application.g_unrecoverable_error := true; because if it doesn't have this, the HTML gets put into the text file too.
    Anyway, when the user is done saving this text file, to all appearances they are still on page 7 (since page 10 doesn't really load, just runs that process) but I want them to go to page 14 after saving, not stay on page 7. I can't figure out where to put the redirect. The branching on page 7 doesn't seem to get activated after they hit the save button of the popup file save window, page 10 never loads for a branch on that page to work and I tried to put
    htp.init;
    owa_util.redirect_url('f?p=&APP_ID.:14:&APP_SESSION.');
    after the htp.prn call in but then the popup file download window doesn't come up at all and the user is immediately redirected to page 14.
    This is the process - I've tried the redirect inside its own begin end; and it didn't make any difference. If I put it in a separate process, it never gets run because as soon as the htp.prn is done, all processing stops. Any ideas on how I can get this file created and then redirect user to page 14? Thanks!
    begin
    -- Set the MIME type
    owa_util.mime_header( 'application/octet', FALSE );
    -- Set the name of the file
    htp.p('Content-Disposition: attachment; filename="this_file_add.txt"');
    -- Close the HTTP Header
    owa_util.http_header_close;
    -- Loop through all rows in CLIENT_TABLE
    for x in (select HEADER_TRANS_TYPE
    , HEADER_FILLER
    , TRANS_TYPE_CD
    , SOURCE_DEPT_NBR
    , DEST_DEPT_NBR
    , ENV_TYPE
    , FILE_SEQ_NBR
    from TEMP_CRA_EXTRACT
    loop
    -- Print out rows
    htp.prn(x.HEADER_TRANS_TYPE|| x.SOURCE_DEPT_NBR|| x.DEST_DEPT_NBR|| x.TRANS_DATE || x.ENV_TYPE || lpad(x.FILE_SEQ_NBR, 4, '0') || rpad(x.HEADER_FILLER, 48) || x.TRANS_TYPE_CD || rpad(x.XREF_NBR, 12) || chr(13) || chr(10) );
    end loop;
    -- Send an error code so that the rest of the HTML does not render
    apex_application.g_unrecoverable_error := true;
    htp.init;
    owa_util.redirect_url('f?p=&APP_ID.:14:&APP_SESSION.');
    end;

    I would recommend using Thread Safe Queues. Your acquisition callback can place items in the TSQ and then you can process the data in a separate thread. TSQs are nice because they allow you to install a callback function to run for certain events. Most importantly, you can install a callback for the Items in Queue or Queue Size Changed event which will run the callback if a certain number of items are in the queue. This lets you take advantage of multithreading in a simple and safe way using a standard Producer/Consumer architecture. However, you may still run into problems with this architecture if your acquisition thread is running much faster than the consumer thread. You could eventually overflow the queue. In that case, your only options are to either get a faster system, slow down the acquisition or do the data handling post process.
    National Instruments
    Product Support Engineer

Maybe you are looking for

  • HT3031 iMAC g4, flat panel

    Good morning, i recently purchased an iMAC g4...i love its great esthetics, but have been having trouble streaming netflix movies, Now i know its kinda old, heck its ancient in the IT community, but its my budget mac...and i love it! Im running macos

  • Dialog programming

    Hi friends, Could any one explain me about the following 1)Developed dialog programming for <b>AP Approval</b>. 2)Developed Dialog programming for <b>PO Change Screen and PR Change Screen</b>.

  • Make BP Contact Sap GUI fields Available in Web UI

    Good day, I would like to make two fields available in the WebUI that are displayed in the SAP GUI in transaction BP The two fields exist in the BP - Contact When accessing txn BP, select a customer, select Relationships, double click "Has contact Pe

  • Database in use error

    Hi, I am working Kodo 2.5.2 with hsql. Goal: Catching SQLException and try to gracefully recover. I am able to cath this exception: ERROR [ApplicationServerThread] (RegisterListener.java:59) - com.solarmetric.kodo.runtime.FatalDataStoreException: jav

  • Acrobat 8 forms won't email

    Created a form (Mac OS X) from my pdf. Made the submit button with the emailto:xxxxxxxxxx, etc and when trying it from Acrobat reader I get a dialog box saying "This operation is not permitted" What did I miss? Any and all help is greatly appreciated