-
-
-
-
Re: JQuery question about 2 diferent versions (SOLVED)
OK, the problem is solved.
I'm just writing here because it could help someone in future.
The problem that I ha was that the page that I would like to inlcude in
IFrame has already jQuery component, so when I had another to the main page
some conflics (that I dont understand) appeared.
Then I had another good tip and tryed it but the error was the same. Now, I
had some extra time and try to find out whats wrong and every thing is
working ok.
Because I have a free host service, it is so slow that the changes that I
made now apear 2 or 3 houres later
By the way, I'm seeking a paid (but no much) web host service that allow me
to have 3 different domains (sites)
Thank you again to all
you are great
Luis Cortes
"Technology Ideas" <info@(remove)technologyideas.com.au> escreveu na
mensagem news:hof9ug$678$1@DailyPlanet.news.netobjects.com. ..
> Luis
>
> Posted previously - another way to do this without jQuery is as follows
> Credit to Paul from Adendum:
>
> Automatic iFrame Expansion
>
> 1. Put the following into "Between Head Tags" of your page
>
> <script type="text/javascript">
> function autoIframe(frameId){
> try{
> frame = document.getElementById(frameId);
> innerDoc = (frame.contentDocument) ? frame.contentDocument :
> frame.contentWindow.document;
> objToResize = (frame.style) ? frame.style : frame;
> objToResize.height = innerDoc.body.scrollHeight + 10;
> }
> catch(err){
> window.status = err.message;
> }
> }
> </script>
>
>
> 2. Add this to the "Inside Tag" of the iFrame link
>
> onload="if (window.parent && window.parent.autoIframe)
> {window.parent.autoIframe('InlineFrame1');}">
>
>
> Change the "InlineFrame1" so it matches the name of your Inline Frame
> Properties name (if you have changed it).
>
> You don't get to see it work in preview mode but it does when published.
>
> Get from http://www.kaali.co.uk/index.pl?art=94
>
> --
> Andrew Baker
> Technology Ideas
> http://www.technologyideas.com.au
> Australia
>
> "Luis Cortes" <lcortes.pt@gmail.com> wrote in message
> news:hof9ch$5ve$1@DailyPlanet.news.netobjects.com. ..
>> Hello again.
>>
>> Well,you know me now I'm the one with lots of questions
>>
>> I inserted a inline frame and because I need that the height adjust
>> automaticaly, used the jquery "thing"...
>> That worked ok, but I started to notice some strange errors.
>> Went to see, and found that the page that I want to put inside the inline
>> frame has allreadythe reference of other jquery version.
>> So, I have a page with jquery that I want to put inside other page that
>> need jquery to work like I want.
>> Is there any chance of do that?
>>
>> My other message (Inline Frame question about size of it) has all help
>> that you gave to me.
>>
>> Thanks in advance
>> Luis Cortes
>>
>
>
-
Re: JQuery question about 2 diferent versions
Luis, Andrew,
Firstly I can't take credit as it's not my code and secondly I'm not
using it to control/manage iFrame heights as I didn't know it even did that!
The reason I am using it is to ensure that if someone uses Google or any
search engine and the search results point to the iFrame content I
wanted the holding page to load rather than the iFrame, otherwise the
visitor would be faced with no navigation.
Paul
On 25/03/2010 09:14, Technology Ideas wrote:
> Luis
>
> Posted previously - another way to do this without jQuery is as follows
> Credit to Paul from Adendum:
>
> Automatic iFrame Expansion
>
> 1. Put the following into "Between Head Tags" of your page
>
> <script type="text/javascript">
> function autoIframe(frameId){
> try{
> frame = document.getElementById(frameId);
> innerDoc = (frame.contentDocument) ? frame.contentDocument :
> frame.contentWindow.document;
> objToResize = (frame.style) ? frame.style : frame;
> objToResize.height = innerDoc.body.scrollHeight + 10;
> }
> catch(err){
> window.status = err.message;
> }
> }
> </script>
>
>
> 2. Add this to the "Inside Tag" of the iFrame link
>
> onload="if (window.parent&& window.parent.autoIframe)
> {window.parent.autoIframe('InlineFrame1');}">
>
>
> Change the "InlineFrame1" so it matches the name of your Inline Frame
> Properties name (if you have changed it).
>
> You don't get to see it work in preview mode but it does when published.
>
> Get from http://www.kaali.co.uk/index.pl?art=94
>
-
Re: JQuery question about 2 diferent versions
Just to clarify, this really only works with internal links in NOF, not
external URLs as you will possibly get script conflicts. It does work
perfectly for internal iFrames though, as long as the width stays the same;
the length automatically changes.
--
Andrew Baker
Technology Ideas
http://www.technologyideas.com.au
Australia
"Adendum" <Adendum@hotmail.co.uk> wrote in message
news:hogldc$rhm$1@DailyPlanet.news.netobjects.com. ..
> Luis, Andrew,
>
> Firstly I can't take credit as it's not my code and secondly I'm not using
> it to control/manage iFrame heights as I didn't know it even did that!
>
> The reason I am using it is to ensure that if someone uses Google or any
> search engine and the search results point to the iFrame content I wanted
> the holding page to load rather than the iFrame, otherwise the visitor
> would be faced with no navigation.
>
> Paul
>
> On 25/03/2010 09:14, Technology Ideas wrote:
>> Luis
>>
>> Posted previously - another way to do this without jQuery is as follows
>> Credit to Paul from Adendum:
>>
>> Automatic iFrame Expansion
>>
>> 1. Put the following into "Between Head Tags" of your page
>>
>> <script type="text/javascript">
>> function autoIframe(frameId){
>> try{
>> frame = document.getElementById(frameId);
>> innerDoc = (frame.contentDocument) ? frame.contentDocument :
>> frame.contentWindow.document;
>> objToResize = (frame.style) ? frame.style : frame;
>> objToResize.height = innerDoc.body.scrollHeight + 10;
>> }
>> catch(err){
>> window.status = err.message;
>> }
>> }
>> </script>
>>
>>
>> 2. Add this to the "Inside Tag" of the iFrame link
>>
>> onload="if (window.parent&& window.parent.autoIframe)
>> {window.parent.autoIframe('InlineFrame1');}">
>>
>>
>> Change the "InlineFrame1" so it matches the name of your Inline Frame
>> Properties name (if you have changed it).
>>
>> You don't get to see it work in preview mode but it does when published.
>>
>> Get from http://www.kaali.co.uk/index.pl?art=94
>>
-
Senior Member
Do you love creating cartoons, but are just a beginner now and you want to learn more about this field? If yes, then it is time to install this amazing app known as Flipaclip within your device. Yes, this device is simple to download and can download for making some stunning artwork online. You do not need to be concerned about anything since this app will help you to create the finest illustrations for the cartoon. It has everything, every tool and thing that is required for making an advanced cartoon creature. The great thing about the program is that it will aid you in creating your cartoon creature even if you aren't sure how to make that. It will provide you with the proper guide through which you can make the creature at no cost. https://vidmateapkdownloadoldversion...apps-download/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules