Tagged Questions
0
votes
0answers
67 views
Drupal 7 - CSS not loading in IE, js error 'jQuery not defined'
CSS isn't loading in IE only. I have the css and js files compressed. Only in IE i'm getting several js errors, starting with the error 'jQuery not defined'. The website is http://pattersoneng.com
0
votes
0answers
33 views
How to use this code in my Drupal site? [duplicate]
I recently created a code where I used jquery, css, html, php and javascript. The code is as follows:
<title>jQuery Hover Effect
<script type='text/javascript' ...
0
votes
1answer
24 views
How do I put this custom CSS and JavaScript into a certain block?
I'm having a hard time getting this:
http://dev.chrisruno.com/sahshe/quiz/
To go into a block in this node:
http://sahshe.chrisruno.com/?q=node/22#
I've successfully included the two Javascript files ...
0
votes
1answer
97 views
How to dynamically add css after image upload on node?
I have used drupal_add_js() for my profile content type and modified CSS using jquery .css() function. in this content type i have image upload field but when i upload image the image preview display ...
0
votes
1answer
96 views
CSS/jQuery not showing in Drupal 7 when upgraded from 6
I have just recently upgraded a large site from Drupal 6 to Drupal 7. When I load up the site it doesn't load any theme at all. Even when I check the admin panel under appearance it shows the enabled ...
1
vote
0answers
90 views
how to deal logo in reponsive theme
I am creating my first responsive website http://islamabadpools.com, I have used Omega as a starter theme and it works almost perfectly for layout.
I used absolute image module for adaptive images ...
3
votes
1answer
197 views
Change drupal font color based on variables
I had a content type=score
This "score" content type had "field 1", "field 2" in integer.
Can I customize the font color based on variables.
ex:
when the users fill in <50 then show red color,
...
1
vote
2answers
584 views
Remove jquery CSS
When i add drupal_add_library('system', 'ui.accordion'); to my template.php, 3 jquery css files are loaded, but i can't remove them with $css_to_remove[] = ...
0
votes
1answer
529 views
drupal_add_css does now work when in cache mode
I am trying to add a jquery plugin to a page through drupal_add_css and drupal_add_js as follows:
drupal_add_css($path = 'sites/all/libraries/gips/css/gips.css', $type = 'file', $media = 'all', ...
1
vote
1answer
2k views
Auto resize iframe from different domain?
I already post a question regarding this issue but I haven't got any solid answer(s). Since we are not allowed to communicate inside the iframe due to "Same Origin Policy", which I almost give up due ...
0
votes
1answer
53 views
Inserting jQuery corresponding to a certain element ID
I have a website in which I want to apply a custom drop down menu to a block. However, I have no idea how to go about doing this.
I posted this yesterday and came to the agreement that the jquery was ...
1
vote
1answer
720 views
Remove jQuery and find out what is asking it to be included
I'm using drupal 7 and I simply don't want jQuery included at all. It seems like most people are advocating modify the js in a theme hook. That's fine I suppose, but it seems like this is dangerous ...
2
votes
2answers
3k views
How to add JavaScript to my Drupal site?
I am new to Drupal. I have knowledge of JavaScript and CSS. I googled, but I did not find an explanation on how to add JavaScript to my site. How can I add JavaScript and CSS to my site? Are there any ...