+1-415-670-9189
info@expertsmind.com
Writing function that creates a string of path to directory
Course:- Other Subject
Reference No.:- EM132281436




Assignment Help
Expertsmind Rated 4.9 / 5 based on 47215 reviews.
Review Site
Assignment Help >> Other Subject

Question: Given a folder with images in it, create an HTML page named index.html that contains links to each JPEG file in the directory as follows:

• Write a function that creates a string of the path to a directory

• Generatea thumbnail (half the size) copy of each image

• Use makeEmptyPicture to create a blank picture in the correct size, then scale down the original picture into the blank picture

• Name the new image "half-" + the original filename (e.g., if the original filename was fred.jpg, save the half-size image as half-fred.jpg). The anchor in the link to each full-size picture should be the half-size image.

Capture a screenshot of your code and output. Paste the screenshot into a Word document.

 




Put your comment
 
Minimize


Ask Question & Get Answers from Experts
Browse some more (Other Subject) Materials
Literature review - Main topic is organisation culture and my tutor give me the question i.e how organisation culture provide stability to organisation, is this stability pr
Write a position on whether or not you feel that minorities are overrepresented in the criminal justice system because of prejudices within the system.
Assume you take a sample of 11.4 g Al and oxidize it (in an excess stream of O2) to produce 2.10 g of Al2O3. Calculate the percent yield of Al2O3. Reaction: 4 Al + 3 O2 → 2
Miami Drug employees has the necessary information and does not know whose name belongs on the notice of deposition. Should Sally file interrogatories to obtain the appropri
Choose one of the following topics and write a 1,050- to 1,400-word paper summarizing the current professional literature on the topic. I chose Media influences on children
A neighborhood credit union has contracted you to write a banking application for the credit union. The credit union would like to be able to accept deposits from its members,
Research about the importance of using the Internet to maximize your company's exposure and marketing plan, and then write a proposal to the CEO outlining the benefits and t
Kushner writes about becoming less to become more and that becoming less means giving up "the dream." What dream have you had about your life that you have had or may have t