View/Change HTML Code on pages...
There are certain things I'm interested in doing and I'm wondering if it is possible to work iWeb similar to Dreamweaver with a split screen so you can see and play with the HTML code...
Thank you, still learning it all.
So, then, once published to a folder you could play with the code and then see how it works out when it goes live to the web?
plain text editor? Sorry, still very new to much of this. so, I can use Mac's TextEdit or Microsoft's Word?
Similar Messages
-
Change html code in page you're viewing automatically
How to make firefox automatically edit certain html code on certain web pages
Like on webpages I can right click inspect element and it will allow me to delete things off the page.
I want this to happen automatically for certain webpages when containing certain html codeI tend to write custom scripts for this sort of thing, but for a couple of more general purpose removers, you could investigate these:
* "Remove it Permanently" can be trained to remove items from a page every time you visit. I believe it works by right-clicking what you want to remove. https://addons.mozilla.org/en-US/firefox/addon/remove-it-permanently/
* A review on that page recommended Element Hiding Helper, which is a companion add-on for Adblock Plus. If you already use Adblock Plus, this is probably a more efficient combination. https://addons.mozilla.org/en-US/firefox/addon/elemhidehelper/ -
How to clean the html code multiple pages simultaneously with Dreamweaver or other soft ?
hello,
How to clean the html code multiple pages simultaneously with Dreamweaver or other soft ? I have hundreds of pages to clean
Thanks !I would start afresh. I would also use Dreamweaver's template system to make thing a lot easier. Have a look at the following, copy and paste into a new document and view in your favourite browser.
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<title>Untitled Document</title>
<link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css" />
<script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
<script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<style>
.hline {
background: url(http://yannick.michelat.free.fr/barre.gif);
height: 10px;
margin-top: 10px;
margin-bottom: 10px;
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-xs-7">
<img alt="" class="img-responsive pull-right" style="margin-top:20px;" src="http://yannick.michelat.free.fr/Calanques.gif" />
</div>
<div class="col-xs-5">
<img alt="" class="img-responsive center-block" style="margin-top: 40px;" src="http://yannick.michelat.free.fr/grandportfolio.gif" />
</div>
</div>
<div class="row hline"></div>
<div class="row">
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-01.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-02.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-03.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-04.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-05.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-06.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-07.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-08.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-09.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-10.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-11.jpg" alt="" class="img-responsive"></a></div>
<div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-12.jpg" alt="" class="img-responsive"></a></div>
</div>
<div class="row hline"></div>
</div>
</body>
</html> -
Viewing downloaded html-code in a webview -AppleEventhandler failed(-10000)
I am trying to view downloaded html-code in a webview in AppleScript Studio. Showing the raw html text in the textwindow works ok, but I am getting an error message trying to output the code to the webview.
I really googled for a solution to this before posting, but haven´t found anything.
It´s the last line "call method "loadHTMLString:baseURL:"....." that is giving me the error.
What´s wrong?
on launched theObject
-- this downloads the source from www.google.com into the variable myhtml
-- and displays the source in a text view window:
set myhtml to do shell script "curl www.google.com"
set contents of text view "textwindow" of scroll view "textwindow" of window "textwindow" to myhtml
-- this should give a variable that points to the webview in the webview window
-- everything in this window is labeled "webwindow" in the applescript properties in IB:
set webwindow to call method "mainFrame" of object (view "webwindow" of window "webwindow")
call method "loadHTMLString:baseURL:" of webwindow with parameters {myhtml, null}
end launched
AppleScript Error
AppleEvent handler failed. (-10000)
[Session started at 2008-12-30 14:09:48 +0100.]
2008-12-30 14:09:49.395 webkladd2[15485:10b] * -[NSCFNumber absoluteURL]: unrecognized selector sent to instance 0x2cea40
2008-12-30 14:09:49.397 webkladd2[15485:10b] An exception was thrown during execution of an NSScriptCommand...
2008-12-30 14:09:49.399 webkladd2[15485:10b] * -[NSCFNumber absoluteURL]: unrecognized selector sent to instance 0x2cea40Hello
IF I'm not mistaken, you should provide "http://www.google.com/" for baseURL of your html source obtained from "http://www.google.com" unless this page defines its own base.
So you might try something like -
--SNIPPET
set myhtml to do shell script ("curl " & "http://www.google.com")
set nsstring to call method "stringWithString:" of class "NSString" with parameter "http://www.google.com/"
set urlstring to call method "stringByAddingPercentEscapesUsingEncoding:" of nsstring with parameter 4 -- UTF-8
set nsurl to call method "URLWithString:" of class "NSURL" with parameter urlstring
set webwindow to call method "mainFrame" of object (view "webwindow" of window "webwindow")
call method "loadHTMLString:baseURL:" of webwindow with parameters {myhtml, nsurl}
--END OF SNIPPET
cf.
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_classic /
Snippet is NOT tested, though I did go by the book as best I could.
Good luck,
H -
RH Automatically Changing HTML Code for Links
For some reason, RH is doing something to the links I create. In my stylesheet, I have the following code for links:
a {
color: #054abc;
cursor: pointer;
a:hover {
color: #336699;
text-decoration: none;
a:active {
color: #333333;
When I create a link, the HTML code looks like this *at first*:
<a href="Development_Plan.htm">Development Plan</a>
But then, after I save the file and switch to HTML view, the code looks like this:
<a href=" Development_Plan.htm" style="color: #0000ff; text-decoration: underline; ">Transcript</a>
I am not doing anything other than saving the file, and that apparently causes RH to automatically add the style (color and text-decoration). Why is RH adding that? It's causing my links not to change color when you hover over them.
How can I make RH stop doing that, so my links display as defined in the stylesheet?Hi,
This is strange behaviour. How exactly do you create a hyperlink? I have seen this behaviour only with links that are empty or contain a single space.
As a workaround, in your css, add the !important declaration to your hover styles:
a:hover
Although this isn't an elegant solution, it will overwrite the inline styling of the link and thus change colour on hover.
Greet,
Willam -
Preview in browser change html code
Hi!
Often when I sketch web sites in Fireworks I preview the page
as an image in my browsers, just to get a feeling of the page in
its real environement, so to speak. Often my web sites are aligned
to the center but Fireworks just put the image to the left and
don´t remove the standard body margins.
Is there a way for me to change the html code used in the
preview in browser command?why not make a standard page (in dw) with zero margins and
padding, and
single div centred with one image and then place the native
fireworks
png in there, save and preview that page from DW and then
when you work
on your fw image just save it and press refresh in your
browser window.
when you do a new project simply swap the new fw png for the
old fw png ;)
JoeyD1978 wrote:
> My work flow is probably a bit different, so this might
be way out in left
> field for you. But I create a new document and make it
very large (2400x3000+).
> I then center what will be my layout in that document
and design from there.
>
> When I preview the layout, I just center the layout in
my browser with the
> horizontal scroll bar. This is the only way I've ever
figured out how to get
> around this same problem.
> -
I would like to change the html code in which the applet is embedded from within the applet.
The idea is: the applet holds a connection to the server.
whenever the server gets an update, it should send it
to the client browser an alternate the appropriate html
part.
Is this possible. If not, is there another technology that can do this?I think PHP is a good thing for that kind of stuff..
-
How do I view my html codes on my macbook pro?
I know my coding is perfect, I used to work on the pc with it. Now moving to a Mac... I'm having such difficulty its starting to frustrate me. I've googled ways to solve it and they all say change the rich text and so on so forth. I've done that yet no change has occured for me. When I bought this, I asked if I could do my codes on it and the guy said yes, that I could do it straight from my textedit. It seems he lied or Im screwing up somewhere.
Please if anyone has the answer to this problem let me know what I'm doing wrong. I'd gladly appreciate it.ShellB89 wrote:
yes fane my code line is perfect meaning that it is flawless
Gosh! They must've broken the mold after you.
i used notepad on the pc and just saved as .html
So use TextEdit and save as .html. When you invoke the Save dialogue, enter .html as the file name extension; if .txt is entered automatically, replace it with .html.
i am having a problem saving as a .html
What's the problem?
being able to preview my work
Close your .html file and open it again in TextEdit or Safari or another browser. TextEdit's behaviour is controlled by the Open and Save preference. If "Ignore rich text commands in HTML files" is checked, TextEdit will not interpret the HTML markup. If it is disabled, TextEdit will render the HTML markup. "Ignore rich text commands" also appears in the Open dialogue, so you can defeat per file this option.
i simply see the html typed in txt format the way i saved it not background color title or anything.
I suppose you mean the HTML markup is not rendered. See above. If you mean syntax highlighting, that's different, but, AFAIK, Notepad does not feature syntax highlighting.
For HTML work, you should probably check out
TextWrangler
<http://www.barebones.com/products/textwrangler/>
which is free, but a good deal more powerful than TextEdit, and does feature syntax highlighting. -
While in edit mode in the Moodle course management system, the Page Content window should display the page as it will appear to the user. If you click on the "Edit" button, you are able to view the HTML code for the page. However, when you return to the normal display mode, the page is blank. This has occurred after the upgrade to Firefox 11.0. Page is normally rendered in Internet Explorer.
A possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
See:
*https://support.mozilla.org/kb/Server+not+found
*https://support.mozilla.org/kb/Firewalls
See also:
*http://kb.mozillazine.org/Error_loading_websites
*https://support.mozilla.org/kb/Error+loading+web+sites -
HTHM code iWeb "META NAME and SEARCH" Want change the code
The source HTML from my front page, can i change HTML code "META NAME" and META SEARCH"
i want erase #1 only this and change like exemple #2 Thanks to helm me.
<head>
#1<meta name="Generator" content="iWeb 2.0.4" />
<meta name="iWeb-Build" content="local-build-20090713" />
<meta name="viewport" content="width=900" />
<title>intro</title>
#2 <head>
<title>videos voyage, escapademedia</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Keywords" content="escapade, voyage, voyager, monde, circuits, Inde, Chine, Vietnam, Orient, Asie, Bali, esprit, Tibet, tibétain, monastère, méditation, relaxation, Java, passeport, Inde sacrée, Delhi, billeterie, consultation, monde, itinéraire, Bangkok, temps, projets, dépaysement" />
<meta name="Description" content="escapade, pour voir, sentir, goûter, entendre et toucher le bout du monde; Pour voyager autrement..." />
<meta name="Author" content="www.escapade.com" />
<meta name="ROBOTS" content="INDEX,FOLLOW" />
<meta name="language" content="fr" />
<meta name="revisit-after" content="10 days" />
<meta name="rating" content="General" />
<meta name="category" content="Travel Agency" />Hello Zorig,
>>I want to generate the column as BillingAddress and ShippingAddress
After you added the Address type in the ApplicationUser entity, the Entity Framework would build a 1-1…0 relationship between two entities, you could use the ForeignKey attribute to specify the generated foreign key column name, if your ApplicationUser and
Address have a one…zero to many relationship.
public class ApplicationUser
[Required]
public int SippingAddressID { get; set; }
[Required]
[ForeignKey("SippingAddressID ")]
public Address ShippingAddress { get; set; }
[Required]
public int BillingAddressID { get; set; }
[Required]
[ForeignKey("BillingAddressID ")]
public Address BillingAddress { get; set; }
public int ApplicationUserID { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
If they are one..zero to one relationship, in EF, this kind relationship is implemented by mapping primary key, in your case, we cannot specify one primary property to map to two different columns in database.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Put your own HTML Codes?
Is there a way to view the html code, and then place your own code in it just like you would with dreamweaver?
Here's what I found. Some people might find it useful.
I wanted to include some php code in a page.
1 Include a text box in the page design which will display the result of your code. Put some marker in the box which will be easy to find like "php-code-goes-here".
2 Publish the site to a folder.
3 open your html editor, I recommend bbedit.
4 open the file for the page and search for the marker you inserted. Replace the marker with your php code.
5 save the file, remembering to rename it with a .php extension
6 search all the other files in that site folder for references to the original .html file and change these references to the new .php file.
7 upload the site folder to your server. you can delete the original html file if you like.
8 bask in the glow that comes when your app works and smile.
I guess this will work with java script and other code as well. I don't have a .mac account so I don't know if this works or even if .mac is enabled for php.
G4 dual 1.42 Mac OS X (10.4.4) ibook G4 -
View the html source code of an apex page
Hi everyone,
I search to how I can view the html source code of an apex page and to be able to modify it. That's why viewing the html source code from the browser when the application is running doesn't arrange me.
Has anyone an idea how it can this be possible?
Best regards,Khadija Khalfallah wrote:
Hi everyone,
I search to how I can view the html source code of an apex page and to be able to modify it. That's why viewing the html source code from the browser when the application is running doesn't arrange me. What do you mean?
Do you want to be able to pull up the HTML source generated by Apex, modify that copy, and then feed it back into Apex with the chagnes you made? If so you can't. Apex generates the HTML through its tools and you have to modify the generation routines to get different HTML.
Do you merely want to look at the generated HTML? In Internet Explorer all you have to do is right click on the page and choose View Source to open a window with the HTML source in an editor. I sometimes find it useful to save a page and manually edit the copy to immediately see the effects of certain changes to the underlying HTML and/or Javascript without permanantly making the change in Apex. -
Changing default code in HTML "Create New" page for CS3
When I open dreamweaver and go to File>New>blank Page>HTML, the code that displays when the page is opened isn't what I want. For instance, I'd like to change the XHTML DOCTYPE to 1.0 strict (from transitional).
Is there a way I can get in to the backend of this program and change that code so I don't have to do it manually every time I open a blank html page in DW? Or can I make my own, and then make that my default html page code?
Thanks,
LukeWhen you Choose FILE>New, you will see a Preferences button at the bottom of the interface. Click on that and you can choose how to diplay the 'new page' whenever you open up a new document.
-
HTML code displays on one line in browser view source
Hi,
In Dreamweaver, my HTML code displays returns, spaces, etc. However, in the view source option in a browser (Firefox in particular), all the code is displayed on one single line. I only found about this because I was having problems with my Google Ads not displaying. (A Google customer service person helped me to find a workaround for this since I still haven't figured how to get my code to display correctly.) So I have gone to Preferences in DW and changed my Code Format Line Break type. The result is the same with each of the three options: the code is all on one line when you check it under view source in a browser. (The server is Linux.)
Does anyone know how to fix this? Also, I think I know how this happened in the first place. I copied my code to TextEdit for a quick backup the other day, and then I pasted it back to DW. Bad idea? Is the only way to get the code back to normal to re-write it in a new HTML file in DW?Pssh. Problem solved, but I'm not quite sure how. I did go back and try to clean up some redundant CSS and other things, but the HTML/CSS validator still shows that I have this one invalid <header> tag (www.nextmontenegro.com), but since that was written as part of the DW template, I just left it. Weird. Anyway, the code flows down the page now.
Thanks for the quick replies and helpful hints:-) -
Has HTML code changed since DW8?
I was able to remedy my Hot Spot issue posted earlier by copying code generated from old DW8 files into a DWCS5 page. I've been resorting to this workflow since I upgraded to CS5 because it doesn't seem to generate good code using the so-called automated tools. Has HTML coding lauguage changed since DW8 and is it different for CS5?
I'm still also not clear about using some of DW's automated tools to generate code. I was told in earlier discussions that I should maually code because DW's various tool sets don't generate good HTML, DW is mostly used as a layout and FTP tool. Should I rely on Page breeze or a similar HTML editor instead? And what version of HTML should I use?
Or should I go back to using DW8?Indie767 wrote:
Has HTML coding lauguage changed since DW8 and is it different for CS5?
Yes and no. HTML 4.01 and XHTML 1.0 have remained unchanged for the past 10 years. So HTML code generated by DW8 and CS5 is identical. The difference is that Dreamweaver CS5 with the 11.0.3 updater also supports HTML5, which is expected to become the new standard in years to come. Dreamweaver CS5 does not use any of the new HTML5 tags unless you create them manually in Code view.
I was told in earlier discussions that I should maually code because DW's various tool sets don't generate good HTML, DW is mostly used as a layout and FTP tool.
I don't know who told you that, but it sounds like a load of nonsense to me. Dreamweaver generates good, clean HTML, provided you use the program correctly. However, having a good understanding of HTML and CSS is a basic requirement of using Dreamweaver efficiently.
And what version of HTML should I use?
That's not such an easy question to answer. Some people advocate using HTML5, because it's "the future". Others advise caution, because the HTML5 specification isn't yet complete, and not all browsers support some of its features. To avoid confusion, I would recommend using HTML 4.01 at the moment. HTML5 builds on top of HTML 4.01, so making the transition should be very easy. However, in the final analysis, it doesn't really matter which one you choose. Make a decision, stick with it, and learn how to use it properly.
Maybe you are looking for
-
ITunes Match and additional users
I have a 15" Late 2008 MacBook Pro with 8 Gig of RAM and a 256 SSD. I am running 10.8.2 and iTunes 10.7 (21). I subscribed to iTunes Match shortly after it was introduced. About a week or two ago I discovered a serious problem with my iTunes songs. A
-
Why do I get a, "your computer must be restarted to complete a previous upgrade" message
I guess Im having the same issues as some of the others but I cant seem to remove. I just wanted to upgrade to FF7 and now I continue to get the message above. Ive taken all the steps suggested at: http://kb.mozillazine.org/Uninstalling_firefox The i
-
Hi Experts, I have one problem i.e. our group company having Jan to Dec fiscal year, and their subsidary company having Apr to Mar fiscal year. About India, i knew the tax and everything should be submitted in the year of Apr to Mar. But we want to
-
Dynamic text don't show some characters
hi guys, i'm with a problem.. i have a dynamic text in my flash and it's reading vars from a txt file, but it does not read some portuguese character as ç Ç or accents such as ã â Ã Â... i tried to embendding theses characters on my dynamic text, cho
-
In the labview manual, there is very little mention about the use of waveform.How is this waveform being called and can i have an example to see how this work. Also in the adapt to type paramete, what does this parameter do and in what circumstances