Solved

Passing Url vaulue to new window.(Coldfusion)

Posted on 2004-10-20
3
348 Views
Last Modified: 2013-12-16
Hi expert!

Greetings!

I have a query page that pass url value to another new window.I want the new winow to be resized, disabled statusbar and tool bar.

For example. Parent window  query

main.cfm

<cfquery="abc" dbtype="query">
Select *  from job
</cfquery>

<cfoutput query="abc">

<a href="action.cfm?id=#abc.jobno# target="_blank">#jobno#</a>
</cfoutput>


action.cfm

<cfquery="sql2" dbtype="query">
Select *  from job where jobid=#url.id#
</cfquery>

<cfoutput query="sql2">
#description#
</cfoutput>



I will pass the url value to a new window.I can pass the value to a new window and get a correct result.
Problem is
How can i resize the new window to resize,disable toolbar,status bar?
HTML has no features to resize,diable toolbar and status bar.

Please help.

Thank you

0
Comment
Question by:gugu_1500
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 4

Accepted Solution

by:
Sicos earned 125 total points
ID: 12367220

Hi,

You can open a new window like this using javascript.

window.open("example.htm","","resizable=yes,status=yes,toolbar=no,menubar=no" + lSuffix);


In the example.htm file (or whatever youre file is named) you can resize the window in the onload event with window.setSize also using javascript

Greetings,
Sicos

0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show, step by step, how to integrate R code into a R Sweave document
A short article about a problem I had getting the GPS LocationListener working.
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question