This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 10 years ago.
I am using TinyMCE with MVC 3 razor engine. I am trying to add my own classes I used content_css and added my style sheet. the classes appeared normally in the drop-down list but when i click them they don't affect the view or html. where should I look or inspect I'm using version 3.4.7
the problem was with the tinymce version
It can be a bug wiht tinymce. You can grab the lastest version and try.
Also consider migrating to ckeditor. Its a great editor and have support for a bunch of plugins. It's also highly customizable and esasy to implement and setup.
Related
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 10 years ago.
I want to ask you for help. I need some "simply-use" HTML syntax highlighter.
I have tryed http://alexgorbatchev.com/SyntaxHighlighter/ but this one doesnt support HTML5 tags and it has sliders on right side of screen no matter how big(small) content really is.
Thank you for any response.
prism.js
There are many scripts for this, but I find Lea Verou`s prismjs library to be the easiest to use. And of course it supports HTML5!
To use it, just wrap your code in pre and code tags, and give them a class of language-markup:
<pre class="language-markup"><code>
<div class="example">This is automatially highlighted</div>
</code></pre>
Here's what it'll look like:
and here' a live example: http://plnkr.co/edit/7Du1Oro4px3wsGv0BPOT?p=preview
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 10 years ago.
I have a new HTML5 site going live soon. One page has a carouse of 5 video tag (each with preload="none") which works great in chrome.
Just tested with firefox/firebug and the page takes ages to finish loading as it it downloading the whole 50meg videos behind the scenes. Why is it ignoring the preload attribute?
A.
The preload attribute is only a suggestion to the browser as to what you want it to do. That said, Firefox doesn't ignore it, so your problem is strange.
Do you have a sample online for us to look at? Or can you even post the code?
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 11 years ago.
Post all the code is really bizzare (1200 line more or less) so I create a fiddle for this.
The whole page is really slow, also when I try to manage items on the DOM with Firebugs or others tools (it's really frozen).
So I think the best way is to optimize the HTML-CSS (in fact, removing the CSS definition the page back really faster).
I don't speak about loading the page, but navigate/edit item when the page is loaded (really, try to sort it out with firebug for example, you will see immediatly; you will notice it also on fiddle too).
Instead of having everything editable at once, only go in editing mode once you click an edit link for the row (asp.net style) or when you click on the row itself (devexpress style), and only then show your editing stuff for that row only.
The easiest way to make pages faster is to remove the controls from it :)
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 11 years ago.
I created a site for my company, but it does not support all browsers.
Opera is supported correctly, but others are not supported.
In Chrome the header table does not display correctly.
In Mozilla the picture marque show few pictures only.
Click here.... to view my site....
I am not exactly sure where you got your source code from, but it's a terrible mess:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.mcubicsolutions.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0
Fix it, and you should have less trouble with different browsers. Or consider using a CMS like Joomla, WordPress, etc. if you are not so fit in HTML.
First of all, if you want cross-browser compatibility, you reset your CSS scheme using a reset sheet, for instance CSS Tools: Reset CSS.
If you stick to div and CSS layout, you'll probably be fine in all the newer browsers (Even Internet Explorer 8!). You can also use conditional statements in your CSS code to detect Internet Explorer (explained here in Conditional comments.)
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 11 years ago.
I have designed this search box in photoshop and want to implement it into a static php file on my local machine. I want to be able to change from the different search engines, such as google, yahoo, and others by clicking on the logo to the left and a drop down list being displayed. I don't know how I would change the url that the form gets, but I think I would make a table for the drop down list. And I am not good at coding forms either...
http://img824.imageshack.us/i/searchm.jpg/
Any help?
Looking at the 'dropdown' of search engines, I would imagine you'd have to use some kind of javascript framework for that (jQuery being my suggestion with this plugin):
http://www.marghoobsuleman.com/jquery-image-dropdown
http://jsfiddle.net/ddx4g/6/
Then you just need some PHP to work out what search engine was selected and the search title and redirect to the appropriate page:
$searchterm=$_POST['searchterm'];
$searchengine=$_POST['searchengine'];
echo'<META HTTP-EQUIV="Refresh" CONTENT="0; URL=$searchengine" . .com . "?=searchterm">'";
Or something along these lines. This was all done very quickly so there's bound to be some errors in here somewhere but should get you started.