473,810 Members | 2,948 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Frames Navigation Help, Please.


I've got a page w/ frames... one is a navigation frame with some
ImageButtons. In the navigation frame, there is also a drop-down list. I
need to redirect the mainFrame based on which ImageButton is selected, and
which value is selected in the drop-down list.

I.e., each ImageButton is a thumbnail image, and the dropdown lets the
viewer select the result size of the image... 25%, 50%, 100%. I need to
dynamically generate something that tells the mainFrame to go to:
showimage.aspx? file=/myweb/photos/Chihuly/09300002.JPG&si ze=0.25 where after
the file= is based on which thumbnail selected and the size= is based on the
value in the drop down.

My showimage.aspx works... I just need to nail down this navigation. Any
ideas?

--
Thanks,
Martin Schmid, EIT, CCSA, MCDBA, MCSE


Nov 18 '05 #1
2 1086
Hi

<ELEMENT onclick="doIt(t his.src)".....
Where ELEMENT is a <img or <input type="image, if its a input then return
false
so it won't submit: <input type="image" onclick="doIt() ;return false"...

function doIt(sImgSrc){
var e = document.forms["FORMNAME"].SELECTNAME;
parent.FRAMENAM E.location.href = "showimage.aspx ?file=" + sImgSrc + "&size="
+ e.options[e.selectedIndex].value;
}
Where SELECTNAME is the name of the dropdown and FRAMENAME the name
of the target frame

More info:
http://msdn.microsoft.com/library/de...ence_entry.asp

--
Best Regards
Vidar Petursson
=============== ===============
Microsoft Scripting MVP
http://www.microsoft.com/technet/scriptcenter
=============== ===============
"Martin Schmid" <ma**********@s bcglobal.net.no spam> wrote in message
news:eF******** *****@TK2MSFTNG P12.phx.gbl...

I've got a page w/ frames... one is a navigation frame with some
ImageButtons. In the navigation frame, there is also a drop-down list. I
need to redirect the mainFrame based on which ImageButton is selected, and
which value is selected in the drop-down list.

I.e., each ImageButton is a thumbnail image, and the dropdown lets the
viewer select the result size of the image... 25%, 50%, 100%. I need to
dynamically generate something that tells the mainFrame to go to:
showimage.aspx? file=/myweb/photos/Chihuly/09300002.JPG&si ze=0.25 where
after
the file= is based on which thumbnail selected and the size= is based on
the
value in the drop down.

My showimage.aspx works... I just need to nail down this navigation. Any
ideas?

--
Thanks,
Martin Schmid, EIT, CCSA, MCDBA, MCSE

Nov 18 '05 #2
Needed a little work... but it got me there..

Thanks!

--
Thanks,
Martin Schmid, EIT, CCSA, MCDBA, MCSE
"Vidar Petursson" <th************ **************@ icysoft.com> wrote in
message news:ev******** *****@tk2msftng p13.phx.gbl...
Hi

<ELEMENT onclick="doIt(t his.src)".....
Where ELEMENT is a <img or <input type="image, if its a input then return
false
so it won't submit: <input type="image" onclick="doIt() ;return false"...

function doIt(sImgSrc){
var e = document.forms["FORMNAME"].SELECTNAME;
parent.FRAMENAM E.location.href = "showimage.aspx ?file=" + sImgSrc + "&size=" + e.options[e.selectedIndex].value;
}
Where SELECTNAME is the name of the dropdown and FRAMENAME the name
of the target frame

More info:
http://msdn.microsoft.com/library/de...ence_entry.asp
--
Best Regards
Vidar Petursson
=============== ===============
Microsoft Scripting MVP
http://www.microsoft.com/technet/scriptcenter
=============== ===============
"Martin Schmid" <ma**********@s bcglobal.net.no spam> wrote in message
news:eF******** *****@TK2MSFTNG P12.phx.gbl...

I've got a page w/ frames... one is a navigation frame with some
ImageButtons. In the navigation frame, there is also a drop-down list. I need to redirect the mainFrame based on which ImageButton is selected, and which value is selected in the drop-down list.

I.e., each ImageButton is a thumbnail image, and the dropdown lets the
viewer select the result size of the image... 25%, 50%, 100%. I need to
dynamically generate something that tells the mainFrame to go to:
showimage.aspx? file=/myweb/photos/Chihuly/09300002.JPG&si ze=0.25 where
after
the file= is based on which thumbnail selected and the size= is based on
the
value in the drop down.

My showimage.aspx works... I just need to nail down this navigation. Any ideas?

--
Thanks,
Martin Schmid, EIT, CCSA, MCDBA, MCSE


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

40
2955
by: JohnnyCJohnny | last post by:
Is it pretty safe to say that almost all web surfers now use browsers that are Frames compatible? What are most people using these days? IE? Thanks
34
4145
by: s c o t t | last post by:
I know Jakob Neilsen and a bunch of other usability advocates and critics usually frown on usage frames. However, most people probably seem to have at least version 5 of IE or newer and I am toying with the idea of just using a small topframe in my site design. Do any of you have strong opinions either for or against frames? I personally don't mind sites with them if the borders are hidden and they are well-designed... Thanks,
95
5789
by: Neal | last post by:
Of course, every frame site I've ever seen has reduced usability and all. We've been through this before. But as frameset is still a part of HTML, there must be some legitimate use for it, hmm? For most markup I know when it's useful and when it's not, but regarding table markup I sure know when it isn't good, but can't really come up with a way it would be good. As you all are among the sharpest pencils in the bag, let me ask: Do you...
5
4210
by: AES/newspost | last post by:
I've just re-scanned most of the 60+ posts in the "Frames are Evil" thread, and my question, as the admittedly and permanently amateur creator and maintainer of a simple site, is: Using only elementary HTML and CSS code, how do I create a simple "framelike" main page without being evil? where definition of "how" is --Example of a skeleton HTML template
1
1474
by: Sachin Kuchinad | last post by:
Hi, I am using Smart Navigation to avoid screen flashes during refresh / reload of web pages which are under frames. Following is the physical layout of pages and their attributes. Main.aspx contains frameset which has 4 frames underit in which there are individual web pages. 3 of the webpages in respective frames refresh after a stipulated amount of time. Each of these contain a refrence to external css files and refresh is done using...
2
1408
by: Griff | last post by:
A novice's view-point (please correct) With CLASSIC ASP, I understand that frames could be beneficial. For example, the left-hand frame could contain the ASP for the navigation tool and the right-hand frame would contain the main page. I believe that the advantage was that all the ASP (and database accesses) required to create the navigation tool would only have to be run once. The alternative of having the navigation tool in the same...
4
3036
by: Sandy.Pittendrigh | last post by:
I don't want to get into a frames discussion here. We all know they have numerous drawbacks, especially with search engine visibility. (Google, ironically, uses framesets for displaying individual news group posts). Despite the trouble they cause, it is still tempting to use frames, occasionally, for instance for machine-generated pages that might have a large number of left-side navigation links. If you do use frames in that...
56
3891
by: Deepan HTML | last post by:
Hi All, Currently i am working in a framed environment where i have divided the window as 20% and 80% and the 20% is used for navigation purpose and right frame for displaying the orignal content. Now i want to Disable ad Enable the menu items which are placed in the left frame for navigation purpose. Can any of you input me with any idea as how to proceed? If you need any other information then please let me know.
0
9722
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9603
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10391
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10121
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5690
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4333
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3862
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.