473,324 Members | 2,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Create iframe with Div on click of button (Expand) effect

200 100+
Good day, I need help.

I know i'm asking a lot, no clue on how to do - please help

I want to create a <Div>with an <frame> in on the click of a button which controls the droping & closing of the div

Only on click of the button the <div><iframe> should be visible with objects there in & a button within the <div> to close the div collapse.

I'm trying to create an expand effect & once the button within the expand has been clicked the <div><iframe> collapses

I know i'm asking a lot

Please Assist!
Jan 20 '10 #1
2 3271
Hello again ismalic,
The easy way is to use JQuery. This does all those kinds of animation things very easily.
The harder way is to create your own animation code. Simply put, you create the div with the iframe (could be as easy as calling document.write()), then periodically call a function that "expands" div layer using the style property of the object. When it is at the proper size, stop periodically calling the function.
To make it collapse again, write a second set of animation functions and cause it to remove the layer.
Hope this helps,
Lars
Jan 20 '10 #2
ismailc
200 100+
Thanks I'm looking around
Jan 20 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Marina Ferguson | last post by:
Hi, I have a document with an iframe. The main doc has a "Print" button. The idea is that when the user clicks it, the contents of the iframe is printed. For some reason instead of the iframe...
4
by: Jaco | last post by:
Hey, Maybe I am in the wrong newsgroup. I am writing an browserapplication. In the webpage I have 2 parts a fixed part and a variable part. The variable part is an IFRAME. If I press a button in...
0
by: Steve Richter | last post by:
Am I able to change the target=_self, _parent, ... attribute of a document so that the document can break out of the iframe that contains it? for example, I would have a button outside of the...
5
by: Chris Kennedy | last post by:
I want to put an Iframe on a webform page. How do I get the Iframe's source file to change at the press of button control on a web form (containing the iframe). Preferabaly without javascript,...
3
by: Amjad | last post by:
Hi, I just wrote a test Windows Service that creates a text file on startup (please see my code below). The file is never created. Protected Overrides Sub OnStart(ByVal args() As String) Dim...
1
by: egcgt3 | last post by:
Hi, I need help creating an IFrame busting code to allow a banner to expand out of an IFRAME. This is the situation I created a Flash banner with dimmesions 728x90 that expands to 728x400 when...
1
by: realfantasy | last post by:
i made asp.net webusercontrol which contains panel which contains datalist and that panel is in ajax collapsableExtender and that webusercontrol is in master page header and in always visible control...
2
by: ericisjusteric | last post by:
I have a page with multiple iframes and need to have the user (ie6) be able to click a button to refresh any one of the iframes - but also to click another button at the top of the page to refresh...
1
by: cdmsenthil | last post by:
I have an Infragistics UltrawebGrid . Each Row in the grid is attached to a context menu using Infragistics CSOM Upon click on the menu, I am creating an Iframe dynamically which points to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.