Bluebeam insertPages code for button Form - javascript

I'm trying to create a button in Bluebeam Revu that makes a copy of the first page in the document, and pastes it at the end of the document, so far I've come up with this solution(see picture),but somehow it doesn't work.
Can someone please help me with this issue?
pic
I try this code:
this.InsertPages(1,"RFI_v1.pdf",false,false,false,false,false);
but it's not working.

Related

jQuery .load not loading button

I've been trying to load a button from another page onto my page using jQuery. I've been following theinstructions detailed in the following url and havent beeen able to get it to work. I am still a bit new to jQuery so i may have small mistakes. Anything will help. iframe to Only Show a Certain Part of the Page
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script> $("#m").load('https://www.minds.com/theantimedia .minds-subscribe-button');
</script>
<div id="m"></div>
Update: I've been running it by opening it from an html file in my browser. I dont know if its like php and wont work. Also if i've broken any rules by posting this please warn me and i'll delete this question. Thanks!

How can I get my smiley button to open the popup I've created?

I can't seem to find the problem, I've tested out the button with an alert tag. The button is possible and works fine, it was styled and transparent with CSS, so that's out of the way. But it seems I just can't get it to open the popup I've created through JavaScript and HTML. What do you guys think?
To skip straight to the code environment.
Click this
<div class="popScroll"><div class="popup">
<!-- Smiley button -->
<button onclick="alert('hi');" class="smiley"><!--<div class = "smiley"></i></div>--></button>
<!--Ribbon-->
I'm fairly new so indentation of my code is restricting me from posting the javascript, but it's on the link. I apologize for the inconvenience.
You Need To Link Jquery Script ...
Attach files jquery-2.1.x.js with containing folder
or get it from
https://jquery.com/download/
When you are calling a JavaScript alert function directly into the HTML, you do not need to put quotation marks around the alert, just the text that you are trying to get it to put into an alert. It should look something like
If you have quotation marks around the word alert it will treat it as a pre-existing function that it will call from the script.

"Add To Pocket" as text and not image

Unlike Instapaper, Pocket does not offer publishers a way to add an "Add to Pocket" text anchor.
This is the code I gather I should put in my index:
<a href="https://getpocket.com/save" class="pocket-btn" data-lang="en"
data-save-url="http://yourDomain.com/the/page/to/save.html"
data-pocket-count="vertical"
data-pocket-align="left"
>Pocket</a>
<script type="text/javascript">!function(d,i){if(!d.getElementById(i)){var j=d.createElement("script");j.id=i;j.src="https://widgets.getpocket.com/v1/j/btn.js?v=1";var w=d.getElementById(i);d.body.appendChild(j);}}(document,"pocket-btn-js");</script>
I'm using WordPress, so I'll have to replace the data-save-url with PHP, that's not a problem. The problem is that I can't figure out how to make this element appear as Text and work properly. I've tried hiding its img class and using span and content:before/after, but it doesn't work as the Javascript code is executing after the CSS has already loaded (?).
had the same problem. After a little search I used:
Save to Pocket
You will be loosing the counter though. And of course a user must be logged in to Pocket to save immediately, if not he will be redirected to login page.
This worked fine for me. Hope it does for you too.

Weird thing --onclick event disappears when I switch the visual and text tab

here is the piece of code I want to add the wordpress page:
But when I click visual tab and come back to text tab. The onclick event disappeared:
Can anyone explain why it happens? why do it change the code when I switch the visual and text tab! Thanks in advance!
Check this question:
Wordpress insert javascript into page text area
Basically, check that you are not inside a p or anther element or have a look to the plugin they suggest on that answer:
http://wordpress.org/extend/plugins/raw-html/
Wordpress strips code from your posts which is why that is happening.
Source: http://wordpress.org/support/topic/placing-javascript-in-posts

First time user of Galleria and i just can't get it to work?

First time user of Galleria and i just can't get it to work? its just giving me a list of images?
i have tried what it says in the FAQ's but nothing is working? please can some one help me?
I don't no Galleria but the following code
jQuery("#gallery").galleria({
is referring to an element with id="gallery".
I think the second div
<div id="gallery/landscapes (random)">
Should read:
<div id="gallery">
Going to the page directly, I see a couple things that might help.
You are loading the theme both at the top, and in your script
You might need to load the script later on in the document, since the div has to exist before it can reference it. (On the page up on the web, the script comes before the gallery div. It needs to come after it)
The code posted here has the incorrect div name ("gallery/landscapes (random)"), but the one on the site has the correct name ("gallery")

Categories