I want to get the raw video data. I tried to inspect it, but there isn't a src attribute.
normal page:
The normal page
A page with only a video element
you have to leftclick the element and the click something like save audio
Related
In snappysnippet we can only take out css and html of the selected element. But how to extract the whole webpage's css and html
Click on sources option in snappysnippet, whole foulder structure will be displayed on leftpanel, right click on desired file and save as in your workspace.
For html code you can right click to the particular webpage and select View Source Code option.
When you click on the 'featured properties' (which is simply iframed from my friends other site) it obviously attempts to open the website within that iframe, is there a way to code that so when clicked, it opens in full in another page?
Source: http://wiredpractice.com/jcr.html (it's in temporary housing right now)
Thanks!
You'll want to utilize this feature on an anchor tag:
<a target="_blank" >...</a>
You can use it on an existing link you've setup inside your iFrame or wrap your iFrame with an anchor tag that has the correct link and target property.
I'd recommend this site for more detail: http://www.w3schools.com/html/html_links.asp
I have set an image of type .jpg in image tab of page property. How can I fetch or access this image in the component JSP.
Thanks
Not being able to see what you have implemented I'm assuming this will save some properties to the page level based around the image such as its source.
This means you can then pull that out using
currentPage.getProperties().get("property","default");
On my website, I have a list of users. By clicking each one, a fancybox pop up window will show. Within the window, I use iframe to load a page with paintings from the user.
Is there any way to make the images in fancybox iframe pinable by clicking pinterest bookmark pin it button? Or do I have to add a pin it button to each HTML page?
Thanks,
Milo
The bookmarklet button works on the page that is currently loaded. Usually, if an iframe has changed even slightly from its original url, it is inaccessible to the parent page via javascript. The actual iframe itself has to initiate the appropriate messaging request systems.
If you can have the iframe send a message to the parent window that contains the desired images and then have the parent window add the image links to the page, that seems to be the only way to do it right now. Look into the postMessage() function.
As you asked if there is "any way" to do it, I would say yes. However, it is very ugly. Probably better to add pinit buttons to each image in the iframe. :)
I know it's possible to save as... and look at the html file and see all the classes generated by javascript, but I would love to know if there's a firefox (or other browser) add-on which will show me page source with the javascript generated classes.
Working with jQuery mobile and trying to carefully modify all the CSS it generates is tough without it. Thanks.
Try Firebug. It's a line-level javascript debugger for firefox. It will show you all of your script code and even let you step debug it.
To view generated mark-up, use the element inspector (the blue "box & arrow" icon in the top left of the firebug toolbar). The element inspector allows you to hover over elements on your page and view its markup.
Try "View Source Selection".
Right click page and Select All and right click again to View Selection Source to view the source that a script generated, in FF. (at least in v.3.?)