Inline frames
i recently completed this site:
http://www.colliervillehistoricsquare.com/history
and, if you notice upon clicking on of the thumbnail images, you
have to scroll back down to see the new image. Should I have used
an inline frame for this? If so, how do I accomplish that?
Thanks in advance,
Brad
Set it to use a size relative to the parent block element. You can use percents for that.
Similar Messages
-
[JS CS3] Modify geometricBounds of Inline Frames in Overset Text
Hello,
I have the following setting:
I recieve a XML file , which contains <image href="..."> tags. InDesign automatically inserts the correct images as an inline frame.
The layout column are too small for the large images, so when placing the XML into the layout, the whole content is in the overset.
Inline frames in the overset do not have any geometricBounds. Can I modify width & height of frames in overset text? And how do I do that?
Thanks
TobiasThanks Robin!
I helped myself with the following:
with(myElement){
// get img objects
var theImage = myElement.xmlContent;
var theImageFrame = theImage.parent;
theImageFrame.appliedObjectStyle = myDocument.objectStyles.item("Img_free");
The objectStyle "Img_free" sets the image frame from "inline" to "anchored frame". So the size of the image doesn't matter any more because its outside ("free") of the text. So everything flows into visibility and I can change whatever I want. (Yes, I must not do this with a object style, but it felt right to do so.)
It's basically a similar way to your description. But I had hoped that there would be a somewhat "cleaner" way to do that. In my eyes it is more a workaround ...
Any further suggestions?
(How do people scripting InDesign Server do such things?)
Thanks
Tobias -
Page will not display properly with inline Frames
I have a html page that will not display properly in Dreamweaver. I have a basic understanding of html and want to be able to edit a website in Dreamweaver that was given to me. It looks fine in a browser, but in Dreamweaver some of the content is missing and displays the following message, "Your browser does not support inline frames or is currently configured not to display inline Frames". I was able to open it without any problems using Microsoft Front Page, so is it possible to view and edit it in Dreamweaver?
Without seeing your page, I'm guessing that your page contains server-side includes, iframes and scripts to other files on the server that populate page with content on the server's end. You can't see it in DW because you don't have all the files in your DW local site folder. You said this views fine in FP. Was your page created in FP with FP proprietary tools?
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb -
Navigating inline frames from flash
Hi,
I have a navigation block set up in flash. Can someone please tell what the geturl script is to control external html pages loading into an inline frame?
Thanks.o.k kglad, something odd is going on.
in my html code, I'm designating a particular file to initially load in my iframe
<iframe name="leftframe" src="swfs/portfolio/frames/logos/logointro.html" width="431" height="506" marginwidth="0" marginheight="0" allowtransparency="true" scrolling="no" border="0" frameborder="0">
I'm testing two buttons to make sure they are working, but each time I click them, the logointro.html file reloads instead.
sample1btn.onRelease = function():Void {
getURL("swfs/portfolio/frames/logos/logo1.html", "leftframe");
gotoAndPlay("sample1");
sample2btn.onRelease = function():Void {
getURL("swfs/portfolio/frames/logos/logo2.html", "leftframe");
gotoAndPlay("sample2");
Any idea why logo1.html and logo2.html won't load? -
Close ADF Popup Dialog with html button in Inline Frame
hi,
I'm using jdev 11.1.1.2,
I have a adf popup dialog which contains an Inline Frame(source is a jsp file).I want to close the dialog with a html submit button in the frame page. when the submit button is clicked, auto close the dialog.
can anyone help in this.
ThanksTry to close the popup from Javascript using a sciptlet similar to the following one:
var popup = AdfPage.PAGE.findComponent('<yourPopupClientId>');
if (popup.isPopupVisible()) {
popup.hide();
}where <tt><yourPopupClientId></tt> should be replaced with the popup's client ID. The client ID is composed of the popup's ID from the <af:popup> tag preceded with IDs of the eventual parent naming containers where the popup has been declared.
For example, if the tag is <tt><af:popup id="myPopup"></tt>, then the clientId might be:
<tt> myPopup
container1:myPopup
container1:container2:myPopup</tt>
... and so on, depending on where you have defined the popup in your JSF page (i.e. within which naming containers), you should determine it first. -
Iframes or if there is such a thing a an inline frame
Hi guys,
I am making a html website, now on Microsoft Frontpage there
is somthing called an inline frame, i was wondering if i could get
that on dreamweaver, if so how ?
Help would be very much appreciated
Thanks
aniboy6Though they are great, there are problems with them not
working with some
firewall software, and they aren't the most x browser
compatible ... shame
because I love them.
Gerry
http://www.UsableContent.co.uk
"Michael Hager" <[email protected]> wrote in message
news:eog776$j8s$[email protected]..
> Yep... just type it in in code view.. works a charm...
>
>
> <div ALIGN=center>
> <IFRAME width="320" height="240" scrolling="no"
frameborder="0"
> SRC="yourcontent.html">
> </IFRAME>
> </div>
>
> change sizes, borders, scrolling, etc and replace
"yorcontent.html" with
> your html file.
>
> Michael Hager
> www.cmhager.com
>
>
> "aniboy6" <[email protected]> wrote in
message
> news:eoe5oq$6s0$[email protected]..
>> Hi guys,
>>
>> I am making a html website, now on Microsoft
Frontpage there is somthing
>> called an inline frame, i was wondering if i could
get that on
>> dreamweaver, if
>> so how ?
>>
>> Help would be very much appreciated
>>
>> Thanks
>>
>> aniboy6
>>
>
> -
Hello,
I have a page at www.gwebiogas.co.uk/sitepics which contains two inline frames. The first contains thumbnails and the second displays the large version of the thumbnail when clicked.
I have two problems:
1) Internet Explorer adds a white background to the iframe, which I do not want.
2) Both IE and Firefox position the picture with a margin/border to the top and left. It's not really noticeable in Firefox but in IE the above-mentioned white background gives it away. I have set the margin to 0 in the Page Properties of the page which loads into the frame but it makes no difference.
Any thoughts please? I've tried various margin, border and padding settings but have run out of ideas.
Thanks
StephenThanks for taking a look at it.
It's the frame below the thumbnails one that is my main problem ie the one that loads 'site_pic.html' and displays the large picture.
I have set every value for border, margin etc to 0, and have set background background colour to transparent in the css settings both for the iframe and site_pic.html and have also added [allowtransparency="true"] to the code for the iframe so it looks like this:
<iframe id="pic_frame" name="pic_frame" src="site_pic.html" allowtransparency="true" frameborder="0" scrolling="no"></iframe>
- all to no avail! -
How to get any event occurs inside inline frame .
Hi All,
I have configured some url in af:inlineFrame component .
This url is pointing to a webapplication which is hosted on different server .
If i want to know all the activity what is happening insde inlineframe component which event i need to handle .
I show all metadata of af:inlineframe component i dint find it handle any event .
Please let me know how could it possible .
Thanks ,
Arun.Hi Sireesha,
I have configured http://google.com as a source of inline frame component .
Now google.com is rendered inside the inlineframe component .
Whenever i will do some serach or click on the link appearing after searing something in google or someother activity .
i want to intercept all the actions in my bean .
Please let me know if above explanation is not clear .
Thanks,
Arun. -
Set anchor yoffset value for inline frame
Hi everyone!,
In my document having the one story and it contains the two inline frames.
then set the anchor yoffset value for inline frame to -5 mm.
my coding is given by below, what's wrong in my code.
Please tell me.
tell application "Adobe InDesign CC 2014"
set ofset to -5
tell active document
tell story 1
set anchor yoffset of anchored object settings of parent of item 1 of inline frame 1 to ofset
end tell
end tell
end tellHi
This snippet works ...
tell application "Adobe InDesign CC 2014"
set ofset to -5
tell active document
tell story 1
tell text frame 1
set anchor yoffset of anchored object settings to ofset
end tell
end tell
end tell
end tell -
For a wesite I get this error in firefox, "Sorry, Netscape 4 cannot show inline frames", other browsers are able to open it.
I uninstalled all the old flash players and installed the flash player v16.0.0.235 from the Adobe website posted.
And Firefox is still the same. It takes forever to web search, It takes a long time to get on Youtube, and a longer time now to open a video..
It's actual worse since I upgraded to the newer flash player.
I'll do one more fifefox reset (this is the 8th one in a week)
and it works for a few hrs, and goes back to the slowww way of working...
Many of my friends I talked to about this, told me to switch over to Chrome like they had to do..
I guess that's the only alternative now..
Thankyou all for your help and suggestions anyway.. :) -
GeoMap click event refresh inline frame
I am listening to the MapPointTheme click event. When this is fired, I set the source of my second Inline frame to another page (the main page has 2 inline frames, 1 displaying the map, and my second one displaying something else) via a backing bean. The problem is that, the GeoMap component refreshes, and not the second inline frame.
public void mapClicked(MapClickActionEvent mapClickActionEvent) {
// Add event code here...
serviceName = mapClickActionEvent.getDataContent().getLocationName();
System.out.println("Map clicked service: " + serviceName);
hostFrameSource = "testPage.jsp?service=" + serviceName;
System.out.println("Host frame source: " + hostFrameSource);
hostFrame.setSource(hostFrameSource);
AdfFacesContext.getCurrentInstance().addPartialTarget(hostFrame);
}I am stuck as I am unsure what I am doing incorrectly.
Regards,
Gareth.Gareth,
I don't have a sample for this but what if you surround the inlineFrame in say an af:panelGroup and ppr this group?
Frank -
Prevent inline Frame URL being encoded
Hi All,
I am using jdeveloper version 11.1.1.6.0.
My use case is i want to generate url on jspx page itself like http://localhost:7101/contextPath/
My Inline Frame is as follows:
<c:set var="currentUrlContext"
value="#{facesContext.externalContext.request.scheme}://#{facesContext.externalContext.request.serverName}:# {facesContext.externalContext.request.serverPort}#{facesContext.externalContext.requestContextPath}"/>
<af:inlineFrame id="if_stSearch"
source="http:/thirdpartyurl/index.shtml?returnTo=#{currentUrlContext}/myServlet"
shortDesc="Structure Search"
inlineStyle="height:900px; width:880px; border-width:0px;z-index: 0;">
</af:inlineFrame>It generates url in the browser (checked on firefox) is
http:/thirdpartyurl/index.shtml?returnTo=http%3A//localhost%3A7101/contextName/myServlet
Why it replaces colon with %3A after returnTo word .
and what is solution for this to build url with colon
Edited by: 925410 on Oct 15, 2012 2:44 PM
Updated
when I give url in source attribute of inline frame .It automatically encodes url .Is there any property of inlineFrame which gives me chance to avoid inline Frame url encoding
If I just put the source attribute of the inlineFrame as
http:/thirdpartyurl/index.shtml?returnTo=http://localhost:7101/contextName/myServlet
run the page and chek inline frame source in FireBug
It displays as a
http:/thirdpartyurl/index.shtml?returnTo=http%3A//localhost%3A7101/contextName/myServlet
Edited by: 925410 on Oct 18, 2012 8:44 PMHi All,
Finally I got solution I just set iframe source attribute on jspx page load by javascript
<af:document id="d1">
<af:clientListener type="load" method="loadHandler"/>
<af:resource type="javascript">
function loadHandler() {
var baseURL = location.href;
var indexOfFaces = baseURL.indexOf('faces');
var url = baseURL.substr(0,indexOfFaces);
var myUrl="http://newsearch.chemexper.com/misc/hosted/alfaGlobal/index.shtml?returnTo="+url+"servletName";
parent.document.getElementById("pt1:if_stSearch").src=myUrl;
</af:resource>Edited by: 925410 on Oct 22, 2012 8:04 PM -
[JS CS5] Accessing an inline frame from an insertion point
Given an insertion point, how can I determine if it contains an inline/anchored frame? And if so, how do I reference the inline/anchored frame?
I know how to reference the surrounding paragraph, characters, etc., but can't figure out how to get to the inline/anchored graphic.
I normally would just loop through all the inline graphics in the document, but it this case I need to access the inlines via their insertion points.As far as I know, Insertion point can't hold inline/anchored object, but character does.
If you select text and run this line
alert(app.selection[0].pageItems.length);
it will return number of anchor/inline objects inside selected text.
Another way is to check parent of object. Parent of anchor/inline object is always character.
Example script that copies all anchor/inline objects to new layer: http://bit.ly/aV9WMF
Hope that helps.
Marijan (tomaxxi)
http://indisnip.wordpress.com/
http://inditip.wordpress.com/ -
Set the height of an anchored (inline) frame
Hi
I have a text frame with an inlined (anchored) text frame. Now I want to change the height of the inlined text frame.
How can I do that?
I try it with IPageUtils::DoSetHeight. If I do this, the height is set but the anchored box is not at the same position like before. She is moved upward. What could be wrong?
Thanks for the support.
Greetz
HansHi
I have a text frame with an inlined (anchored) text frame. Now I want to change the height of the inlined text frame.
How can I do that?
I try it with IPageUtils::DoSetHeight. If I do this, the height is set but the anchored box is not at the same position like before. She is moved upward. What could be wrong?
Thanks for the support.
Greetz
Hans -
DW 8 - Inline Frame TOP alignment
Greetings,
I have a table with couple columns. Left column has Iframe of
text links. Basically my navigation links for my site. Next colums
are just editible regions.
Problem is that my left cell with iFrame top text is lower
than my next columns text. Can not figure out why? I am not an
expert. Putting in code as someone will likely ask for it. Not up
on a site yet.Greetings,
I have a table with couple columns. Left column has Iframe of
text links. Basically my navigation links for my site. Next colums
are just editible regions.
Problem is that my left cell with iFrame top text is lower
than my next columns text. Can not figure out why? I am not an
expert. Putting in code as someone will likely ask for it. Not up
on a site yet.
Maybe you are looking for
-
How do I get existing contacts from Exchange to gmail or icloud?
With iPhone 4, my contacts synced automatically with my gmail. However, since upgrading to iPhone 5s, they are no longer syncing. The problem is that I only discovered this now, with many new contacts not synced. I have fixed the problem for contacts
-
Hi, I am looking to learn SAP. Can any body please tell me which is better FI/CO or SD(Functional Consultant) in the current market. Thanks in advance Ram
-
Error loading archive: no valid header or TOC found (80040002)
Dear Gurus, I had recorded a tutorial which is am attempting to edit now. On opening the tutorial through the editor, I get the following message: "The following error occured while opening the file: error loading archive: no valid header or TOC foun
-
Hi All, I have a client requirement which is unique.We use bill of lading number for delivery cost or freight. Now the requirement is,if we enter bill of lading in MIRO it should pick all the prices from PO(like delivery Note). I understand in standa
-
How to buy and download a music item from iTune store ?
The procedure to buy Mozart Piano Concerto 20 from iTune Store .