Solved

Passing Url vaulue to new window.(Coldfusion)

Posted on 2004-10-20
3
327 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
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ClickOnce Install - Shortcut Question 3 73
array11 challenge 16 61
How  do I get an older program to run in Windows 10? 20 104
Scripting vs. Programming languages 25 152
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

862 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now